Search found 7 matches: cvar1

Searched query: cvar1

by Silvio.Falconi
Mon Jun 03, 2024 8:39 am
Forum: FiveWin for Harbour/xHarbour
Topic: get your external IP
Replies: 11
Views: 1313

Re: get your external IP

I allready Used

Function GetIP()
Local cVar1
WsaStartUp()
cVar1 := GetHostByName( GetHostName() )
WsaCleanUp()
return cVar1
by frose
Thu Oct 12, 2023 7:30 am
Forum: FiveWin for Harbour/xHarbour
Topic: TGet() - UTF8 encoding fails [Solved]
Replies: 20
Views: 3206

Re: TGet() - UTF8 encoding fails [Unsolved]

Please try WITH VARCHAR and PICTURE :
#include "fivewin.ch"

function Main()

local oDlg
local oGet
local cVar1 := "üäö"

FW_SetUnicode( .T. )

MsgInfo( "cVar1: " + Trim( cVar1 ) + CRLF + StrToHex( cVar1, " " ) )

DEFINE DIALOG oDlg SIZE 300, 300 PIXEL TRUEPIXEL

@ 20, 20 GET oGet VAR cVar1 ...
by frose
Mon Jun 26, 2023 9:15 am
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 4276

Re: FW_SetUnicode( .T. ) 2-Byte characters

... MEMO/TEXT ..
is working perfectly with German lang when FW_SetUnicode() is .T. ?

TEdit() does not work correctly yet. Something happens with <cVar1> and <cVar2>:
FUNCTION Main()

LOCAL oDlg
LOCAL oEdit
LOCAL cU82Lower
LOCAL cU82Upper
LOCAL cVar1
LOCAL cVar2

REQUEST HB_CODEPAGE_UTF8
HB ...
by frose
Wed Jun 21, 2023 6:07 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 4276

Re: FW_SetUnicode( .T. ) 2-Byte characters

cVar2 using EDIT control is correct but cVar1 using GET control is not correct?
Yes!

Did some more tests with ü - 0xC3BC and some other 2-byte characters:
- The first 2-byte char is ok
- all the following are not ok
- Pasting one or more 2-byte chars from the clipboard is working!

Did you try ...
by nageswaragunupudi
Wed Jun 21, 2023 3:54 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FW_SetUnicode( .T. ) 2-Byte characters
Replies: 25
Views: 4276

Re: FW_SetUnicode( .T. ) 2-Byte characters

cVar2 using EDIT control is correct but cVar1 using GET control is not correct?

I need to do more tests at my end.

Did you try keeping FW_SetUnicode( .f. ) // default
and try setting

Code: Select all | Expand

   HB_LangSelect("DE")
   HB_SetCodePage("DEWIN")
by Antonio Linares
Thu May 25, 2023 9:00 am
Forum: FiveWin para Harbour/xHarbour
Topic: Combobox no actualiza
Replies: 2
Views: 326

Re: Combobox no actualiza

Estimado Jose Luis,

Prueba con:

oCombo1:Set( cVar1 ) despues de modificar cVar1
by JoseLuis
Thu May 25, 2023 8:10 am
Forum: FiveWin para Harbour/xHarbour
Topic: Combobox no actualiza
Replies: 2
Views: 326

Combobox no actualiza

Buenos dias

Tengo el siguiente codigo:
(aAlias[26])->(Dbseek(xnuconduc))
cVar:=(aAlias[26])->Matricula
cVar1:=(aAlias[26])->Codigo+space(2)+"-"+space(2)+(aAlias[26])->Nombre
cAlias1:=aAlias[29]
titulopanta:=" ENVIOS DEL DIA : " + dtoc(cini)
DEFINE DIALOG oDlg FROM 1, 1 TO 50, 205
oDlg:cTitle ...