... FiveWin.ch"
FUNCTION Main()
LOCAL oDlg, oGet, oGet2, oGet3, oGet4
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL cText := " "
LOCAL nNum := 0
LOCAL dDat := Date()
LOCAL nSalario := 2032212
LOCAL nDias := 30 // Si lo cambiamos a 30 salen los asteriscos
LOCAL nTotal := 0
LOCAL ...
Search found 37 matches: nnum
Searched query: nnum
- Fri Jan 17, 2025 3:03 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Bug en los operadores fwh2409 xharbour 64 bits (solucionado)
- Replies: 20
- Views: 2196
- Thu Jan 16, 2025 4:38 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: HBMK2 - Barra de estado y barra principal mas pequenas
- Replies: 13
- Views: 12829
Re: HBMK2 - Barra de estado y barra principal mas pequenas
... END
nRow += nBmpHeight
END
RETURN NIL
FUNCTION TESTGET()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
SET CONFIRM ON
DEFINE DIALOG oDlg TITLE "TGet from " + FWDESCRIPTION
@ 1, 2 SAY "Text..:" OF oDlg
@ 1, 6 GET oGet ...
nRow += nBmpHeight
END
RETURN NIL
FUNCTION TESTGET()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
SET CONFIRM ON
DEFINE DIALOG oDlg TITLE "TGet from " + FWDESCRIPTION
@ 1, 2 SAY "Text..:" OF oDlg
@ 1, 6 GET oGet ...
- Tue Sep 19, 2023 7:57 pm
- Forum: WhatsNew / Novedades
- Topic: xHarbour.org updated!
- Replies: 172
- Views: 119927
Re: xHarbour.org updated!
... Karinha, try this sample:
#Include "Fivewin.ch"
Function Main()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
inicio := 0
Set Century on
Set Date To British
Set Epoch to 1960
Set Multiple On
Set Deleted On
DEFINE DIALOG oDlg ...
#Include "Fivewin.ch"
Function Main()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
inicio := 0
Set Century on
Set Date To British
Set Epoch to 1960
Set Multiple On
Set Deleted On
DEFINE DIALOG oDlg ...
- Tue Sep 19, 2023 12:16 pm
- Forum: WhatsNew / Novedades
- Topic: xHarbour.org updated!
- Replies: 172
- Views: 119927
Re: xHarbour.org updated!
... the port.
Code below:
#Include "Fivewin.ch"
Function Main()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
inicio := 0
Set Century on
Set Date To British
Set Epoch to 1960
Set Multiple On
Set Deleted On
DEFINE ...
Code below:
#Include "Fivewin.ch"
Function Main()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
inicio := 0
Set Century on
Set Date To British
Set Epoch to 1960
Set Multiple On
Set Deleted On
DEFINE ...
- Mon Sep 18, 2023 7:22 pm
- Forum: WhatsNew / Novedades
- Topic: xHarbour.org updated!
- Replies: 172
- Views: 119927
Re: xHarbour.org updated!
... https. Thanks in advance!
#Include "Fivewin.ch"
Function Main()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
Set Century on
Set Date To British
Set Epoch to 1960
Set Multiple On
Set Deleted On
DEFINE DIALOG oDlg TITLE ...
#Include "Fivewin.ch"
Function Main()
LOCAL oDlg, oGet
LOCAL cCad := "Testing " // pad("Testing Gets",40)
LOCAL nNum := 0
LOCAL dDat := Date()
Set Century on
Set Date To British
Set Epoch to 1960
Set Multiple On
Set Deleted On
DEFINE DIALOG oDlg TITLE ...
- Thu Jul 20, 2023 10:49 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: numeric get
- Replies: 8
- Views: 706
Re: numeric get
If nNum is declared as nil then this error is generated:
Error description: Error BASE/1122 Argument error: TRANSFORM
Args:
[ 1] = U
[ 2] = C 9999999.99
It must be a number
Error description: Error BASE/1122 Argument error: TRANSFORM
Args:
[ 1] = U
[ 2] = C 9999999.99
It must be a number
- Thu Jul 20, 2023 9:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: numeric get
- Replies: 8
- Views: 706
Re: numeric get
Dear Detlef,
Please modify FWH\samples\testget.prg this way:
@ 2, 6 GET oGet VAR nNum OF oDlg SIZE 60, 10 PICTURE "9999999.99" RIGHTTOLEFT
it seems to work fine. Please try it
Please modify FWH\samples\testget.prg this way:
@ 2, 6 GET oGet VAR nNum OF oDlg SIZE 60, 10 PICTURE "9999999.99" RIGHTTOLEFT
it seems to work fine. Please try it
- Mon Nov 14, 2022 11:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Everything under Fivewin
- Replies: 17
- Views: 2422
Re: Everything under Fivewin
... Everything32.dll"
DLL FUNCTION Everything_GetNumResults() AS DWORD PASCAL LIB "Everything32.dll"
DLL FUNCTION Everything_GetResultFullPathNameW(nNum AS _INT, cBuffer AS LPSTR, nSize AS _INT ) AS VOID PASCAL LIB "Everything32.dll"
DLL FUNCTION Everything_GetResultFullPathNameA(nNum AS _INT ...
DLL FUNCTION Everything_GetNumResults() AS DWORD PASCAL LIB "Everything32.dll"
DLL FUNCTION Everything_GetResultFullPathNameW(nNum AS _INT, cBuffer AS LPSTR, nSize AS _INT ) AS VOID PASCAL LIB "Everything32.dll"
DLL FUNCTION Everything_GetResultFullPathNameA(nNum AS _INT ...
- Mon May 11, 2020 8:53 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: NumtoWord (in a payment receipt)
- Replies: 3
- Views: 954
Re: NumtoWord (in a payment receipt)
Hi Silvio,
this is a function Gl_NumToE( nNum ) to get a italian word from a number
#include "FiveWin.ch"FUNCTION MAIN() LOCAL nNum1 := 12345.67, nNum2 := 1234567.89 MsgStop( Gl_NumToE( nNum1 ) ) MsgStop( Gl_NumToE( nNum2 ) )RETURN NIL ...
this is a function Gl_NumToE( nNum ) to get a italian word from a number
#include "FiveWin.ch"FUNCTION MAIN() LOCAL nNum1 := 12345.67, nNum2 := 1234567.89 MsgStop( Gl_NumToE( nNum1 ) ) MsgStop( Gl_NumToE( nNum2 ) )RETURN NIL ...
- Tue Jul 23, 2019 9:04 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: RANGO DE VALORES DE Y EN TGRAH
- Replies: 23
- Views: 4197
Re: RANGO DE VALORES DE Y EN TGRAH
... de 500 en 500 hasta nMax, ya lo cambie en mi sistema haciendo esto oGraph:nMinVal := 500 y no lo respeta, consegui en TGraph una funcion DetMinVal(nNum) que parece es la que hace dicho calculo (Nueva funcion, para cuando TODOS los valores de la grafica sean mayores a cero (>0)), pero hice cambios y ...
- Fri Jan 25, 2019 6:36 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Encode Base16
- Replies: 8
- Views: 2011
Encode Base16
... El resultado debe ser (segun el ejemplo que ponen):
-> D83FF05798D81FFC7426DE08E0C6F3C79884A6A5
Utilizando la funcion de xharbour: NumToHex( <nNum>|<pPointer>, [<nLen>]) el programa se cierra sin dar nungun mensaje
? NumToHex(0001234567890201811151310009990000101010000000100005)
Del internet ...
-> D83FF05798D81FFC7426DE08E0C6F3C79884A6A5
Utilizando la funcion de xharbour: NumToHex( <nNum>|<pPointer>, [<nLen>]) el programa se cierra sin dar nungun mensaje
? NumToHex(0001234567890201811151310009990000101010000000100005)
Del internet ...
- Thu Jul 05, 2018 1:31 pm
- Forum: FiveMac / FivePhone (iPhone, iPad)
- Topic: several questions about GET class
- Replies: 14
- Views: 9509
Re: several questions about GET class
new libs for test ( copy old libs ) . Changes for numeric gets . ( in test )
m
use :
local nNum := 0 // nNum -> valtype numeric
@ 40, 90 GET oGet1 VAR nNum OF oDlg PICTURE "9999.99" TOOLTIP "a string with cross" SIZE 250, 25
Not use pictures "999,999.99" only digit and decimals expresion.
m
use :
local nNum := 0 // nNum -> valtype numeric
@ 40, 90 GET oGet1 VAR nNum OF oDlg PICTURE "9999.99" TOOLTIP "a string with cross" SIZE 250, 25
Not use pictures "999,999.99" only digit and decimals expresion.
- Sat Oct 21, 2017 8:44 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: funciones de FWH y Harbour en un archivo .txt
- Replies: 7
- Views: 6961
Re: funciones de FWH y Harbour en un archivo .txt
... nPos
AtToken(<cString>,[<cDelimiter>],[<nCount>])->nPos
BeforAtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->cResult
Bin2I(<cSignedInt>)->nNumber
Bin2L(<cSignedInt>)->nNumber
Bin2W(<cUnsignedInt>)->nNumber
BitToC(<nInteger>,<cBitPattern>,[<lSpaces>])->cResult
Blank(<xValue>,[<lSpaces ...
AtToken(<cString>,[<cDelimiter>],[<nCount>])->nPos
BeforAtNum(<cSearch>,<cString>,[<nCount>],[<nSkipChars>])->cResult
Bin2I(<cSignedInt>)->nNumber
Bin2L(<cSignedInt>)->nNumber
Bin2W(<cUnsignedInt>)->nNumber
BitToC(<nInteger>,<cBitPattern>,[<lSpaces>])->cResult
Blank(<xValue>,[<lSpaces ...
- Mon Mar 27, 2017 8:00 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Abrir navegador dentro de un dialogo
- Replies: 9
- Views: 2744
Re: Abrir navegador dentro de un dialogo
... Function MainGoogle(oWnd)
local oDlg, aGet[4], aBtn[2], oActiveX
local cCity := space(100)
local cCountry := "CL"
local cStreet := space(100)
local nNum := 0
If !IsInternet()
MsgInfo("Ud. no posee Conección Activa a <INTERNET>, !!! Favor Verificar ¡¡¡ ")
Return Nil
Endif
Define Dialog oDlg Resource ...
local oDlg, aGet[4], aBtn[2], oActiveX
local cCity := space(100)
local cCountry := "CL"
local cStreet := space(100)
local nNum := 0
If !IsInternet()
MsgInfo("Ud. no posee Conección Activa a <INTERNET>, !!! Favor Verificar ¡¡¡ ")
Return Nil
Endif
Define Dialog oDlg Resource ...
- Fri Dec 25, 2015 1:14 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: RBBTN Passing a parameter to popup menu
- Replies: 3
- Views: 647
RBBTN Passing a parameter to popup menu
Is it possible to pass a parameter to the popup menu which is changed dynamically during the run time.
See the example below. Changing the value of nNum has no effect.
Best regards,
#include "FiveWin.ch"#include "Ribbon.ch"function Main()local oDlg, oBtn, nNum:=10 DEFINE DIALOG oDlg FROM 5 ...
See the example below. Changing the value of nNum has no effect.
Best regards,
#include "FiveWin.ch"#include "Ribbon.ch"function Main()local oDlg, oBtn, nNum:=10 DEFINE DIALOG oDlg FROM 5 ...