I allready Used
Function GetIP()
Local cVar1
WsaStartUp()
cVar1 := GetHostByName( GetHostName() )
WsaCleanUp()
return cVar1
Search found 7 matches: cvar1
Searched query: cvar1
- Mon Jun 03, 2024 8:39 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: get your external IP
- Replies: 11
- Views: 1313
- 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 ...
#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 ...
- 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 ...
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 ...
- 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 ...
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 ...
- 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
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")
- 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
Prueba con:
oCombo1:Set( cVar1 ) despues de modificar cVar1
- 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 ...
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 ...