Dear Master Rao,
This issue is FW_SetUnicode(.F.) is not the same behavier as ANSI (do not declare FW_SetUnicode).
K.Surasak,
What is chr(202)+chr(161) represent for (which character in Thai) ?
Thai characters 202,161 are
ส, ก
Thai language in (TIS620) ascii table has not 2 bytes character ...
Search found 306 matches: declare
Searched query: declare
- Fri Dec 06, 2024 2:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Incorrect Font Display
- Replies: 18
- Views: 7393
- Fri Nov 22, 2024 8:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: xbrowse excessive lines
- Replies: 2
- Views: 910
xbrowse excessive lines
... lines?
nTipo =1
https://i.postimg.cc/J72hLLF6/primo.png
ntipo =2
https://i.postimg.cc/TPfd9Yyw/secondo.png
when I set ntipo1 I declare local aTabella := array(101, 11)
when I set ntipo2 I declare local aTabella := array(10, 11)
I tried to set local aTabella :={} for all types ...
nTipo =1
https://i.postimg.cc/J72hLLF6/primo.png
ntipo =2
https://i.postimg.cc/TPfd9Yyw/secondo.png
when I set ntipo1 I declare local aTabella := array(101, 11)
when I set ntipo2 I declare local aTabella := array(10, 11)
I tried to set local aTabella :={} for all types ...
- Tue Oct 01, 2024 7:05 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: assign and declare variables
- Replies: 0
- Views: 684
assign and declare variables
If I load a variable as
&cVarName := cVarValue
I must declare before cvarname ?
I explain you
I take the variables from a extern file sample
FUNCTION ReadFile()
local cFileName := "table_1.dat"
local aInfo := ReadProtectedFile(cFileName)
local aItem,cVarName,cVarValue
FOR EACH aItem IN ...
&cVarName := cVarValue
I must declare before cvarname ?
I explain you
I take the variables from a extern file sample
FUNCTION ReadFile()
local cFileName := "table_1.dat"
local aInfo := ReadProtectedFile(cFileName)
local aItem,cVarName,cVarValue
FOR EACH aItem IN ...
- Mon Sep 16, 2024 12:10 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: erro dllcall
- Replies: 9
- Views: 1399
Re: erro dllcall
You have to declare LOCAL hHandle and LOCAL hResult.
- Mon Jul 29, 2024 4:12 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Problema de Xbrowse()
- Replies: 23
- Views: 5107
Re: Problema de Xbrowse()
... FUNCTION Santi1( oCn, oCn2 )
LOCAL cSql2, oRs2, wfecha
wfecha:='20240723'
cSql2 := "declare @fecha char(8) = '" + wfecha + "' " + CRLF + ;
"select m1.tropanumero as tropa, m1.correlativo, m1.kilos+isnull(m2.kilos,0) as kilos, " + CRLF ...
LOCAL cSql2, oRs2, wfecha
wfecha:='20240723'
cSql2 := "declare @fecha char(8) = '" + wfecha + "' " + CRLF + ;
"select m1.tropanumero as tropa, m1.correlativo, m1.kilos+isnull(m2.kilos,0) as kilos, " + CRLF ...
- Fri May 17, 2024 1:15 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: also for obrw nheight
- Replies: 10
- Views: 1736
Re: also for obrw nheight
I like everything correct: How do I declare, NINDEX?
Me gusta todo correcto: ¿Cómo declaro, NINDEX?
Gracias, tks.
Regards, saludos.
Me gusta todo correcto: ¿Cómo declaro, NINDEX?
Gracias, tks.
Regards, saludos.
- Fri May 10, 2024 6:24 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Chilkat's ActiveX
- Replies: 3
- Views: 833
Re: Chilkat's ActiveX
Hello.
You declare the objects as Nil and the Garbage harbor system will automatically unload them if they do not have memory links.
oHttp := Nil
oReq := Nil
To terminate the Chilkat control Handle initiated by the GLOBAL Resource use Method FinalizeThreadPool()
The prg below is used for ...
You declare the objects as Nil and the Garbage harbor system will automatically unload them if they do not have memory links.
oHttp := Nil
oReq := Nil
To terminate the Chilkat control Handle initiated by the GLOBAL Resource use Method FinalizeThreadPool()
The prg below is used for ...
- Sun May 05, 2024 7:29 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: strange error of fiveh lib
- Replies: 2
- Views: 428
Re: strange error of fiveh lib
Dear Silvio,
Please post the source of ut_images.prg
In the meantime, please declare those missing functions as dummy:
function BetaVersion() ; return nil
I allready make
function BetaVersion() ; return nil
function setmasked() ; return nil
function showgrid() ; return nil
But I not ...
Please post the source of ut_images.prg
In the meantime, please declare those missing functions as dummy:
function BetaVersion() ; return nil
I allready make
function BetaVersion() ; return nil
function setmasked() ; return nil
function showgrid() ; return nil
But I not ...
- Sun May 05, 2024 7:12 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: strange error of fiveh lib
- Replies: 2
- Views: 428
Re: strange error of fiveh lib
Dear Silvio,
Please post the source of ut_images.prg
In the meantime, please declare those missing functions as dummy:
function BetaVersion() ; return nil
Please post the source of ut_images.prg
In the meantime, please declare those missing functions as dummy:
function BetaVersion() ; return nil
- Tue Apr 30, 2024 6:39 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Silvo .. changes to your xMate environment
- Replies: 26
- Views: 3828
Re: Silvo .. changes to your xMate environment
/a /m /n /gc3 /w3 /es2
Using these FLAGS, the compiler does not miss any error COMMAS, if you declare a variable and do not use it, the compilation will not pass. Incredible. It's a lot of work, but it's worth it, as your code is super clean of errors.
Usando estas BANDERAS el compilador no ...
- Tue Apr 30, 2024 6:38 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Silvo .. changes to your xMate environment
- Replies: 26
- Views: 3828
Re: Silvo .. changes to your xMate environment
/a /m /n /gc3 /w3 /es2
Using these FLAGS, the compiler does not miss any error COMMAS, if you declare a variable and do not use it, the compilation will not pass. Incredible. It's a lot of work, but it's worth it, as your code is super clean of errors.
Usando estas BANDERAS el compilador no ...
- Tue Apr 30, 2024 4:51 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Silvo .. changes to your xMate environment
- Replies: 26
- Views: 3828
Re: Silvo .. changes to your xMate environment
Enrico, it works too. But you have to change the way you DECLARE the VARIABLES. For example, it does not accept PUBLIC.
Enrico, también funciona. Pero hay que cambiar la forma de DECLARAR las VARIABLES. Por ejemplo, no acepta PUBLIC.
%hdir%\bin\harbour %1 /m /n /gc3 /w3 /es2 /i%fwh%\include;%hdir ...
Enrico, también funciona. Pero hay que cambiar la forma de DECLARAR las VARIABLES. Por ejemplo, no acepta PUBLIC.
%hdir%\bin\harbour %1 /m /n /gc3 /w3 /es2 /i%fwh%\include;%hdir ...
- Tue Jan 09, 2024 10:19 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: How to find out the IDs of controls and types?
- Replies: 16
- Views: 3512
Re: How to find out the IDs of controls and types?
... 4002, "Static", SS_RIGHT|WS_GROUP, 1, 56, 72, 8
}
Antonio, that's right.
I'm going to improve my application's skin routine.
As we often do not declare "STATIC" controls, which would be SAY in FWH, I needed to know how to find the IDs of these controls.
When it's ready I'll post the class and an ...
}
Antonio, that's right.
I'm going to improve my application's skin routine.
As we often do not declare "STATIC" controls, which would be SAY in FWH, I needed to know how to find the IDs of these controls.
When it's ready I'll post the class and an ...
- Wed Nov 15, 2023 7:07 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Help splitting up a character address string
- Replies: 10
- Views: 3060
Re: Help splitting up a character address string
... ChatGPT
You're right, my mistake. In Harbour, the correct syntax to end a function is RETURN for the function's return value and FUNCTION to declare the end of the function, not ENDFUNCTION as I previously stated. Here's the corrected code:
harbour
Copy code
FUNCTION SplitAddress(cAddress ...
You're right, my mistake. In Harbour, the correct syntax to end a function is RETURN for the function's return value and FUNCTION to declare the end of the function, not ENDFUNCTION as I previously stated. Here's the corrected code:
harbour
Copy code
FUNCTION SplitAddress(cAddress ...
- Tue Aug 15, 2023 9:36 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: como refrescar un listbox
- Replies: 2
- Views: 417
Re: como refrescar un listbox
Gracias por responder, no me estaba funcionando el timer, lo declare así:
ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetPos( 0, 0 ), oDlg:nWidth := GetSysMetrics( 0 ), oDlg:nHeight := GetSysMetrics( 1 ), BuildTimer( oDlg, obrow ))
function BuildTimer( oDlg, wobrow )
local oTmr
DEFINE TIMER oTmr OF oDlg ...
ACTIVATE DIALOG oDlg ON INIT ( oDlg:SetPos( 0, 0 ), oDlg:nWidth := GetSysMetrics( 0 ), oDlg:nHeight := GetSysMetrics( 1 ), BuildTimer( oDlg, obrow ))
function BuildTimer( oDlg, wobrow )
local oTmr
DEFINE TIMER oTmr OF oDlg ...