Search found 46 matches: nmode

Return to advanced search

Re: Problemas con una búsqueda.

... == IDOK, dSelect, dDate ) //-----------------------------------------------------------------------// static function MoveCalendar( oDlg, nMode, nVar) local dSelect := oDlg:Cargo local n local nFirstButton := 0 local nLastButton := 0 local nDate := 0 local nSkip := 0 local nPDate := 0 ...
by José Camilo
Sun Jun 16, 2024 6:31 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con una búsqueda.
Replies: 4
Views: 373

Re: Ayuda con DLL

... does now work :-( #endif AAdd( aTasks, cTask ) hWnd = GetWindow( hWnd, GHW_HWNDNEXT ) end Return aTasks // DLL32 FUNCTION RSProcess(npID AS LONG, nMode AS LONG ) AS LONG FROM "RegisterServiceProcess" LIB "Kernel32.dll" DLL32 FUNCTION GCP() AS LONG FROM "GetCurrentProcessId" ...
by Jorge Jaurena
Tue Jun 04, 2024 2:18 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda con DLL
Replies: 8
Views: 567

Re: I'm not asking for the moon...

Why don't you try using STRTRAN(). It is the solution here. Yes, do you test with STRTRAN ? run all ok ? sure ? IF nMode==2 //modify ntest1 := STRTRAN(str(oBrowse:aArraydata[nRecord][2]), ".", ",") ntest2 := STRTRAN(str(oBrowse:aArraydata[nRecord][3]), ".", ...
by Silvio.Falconi
Fri Jan 19, 2024 10:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: I'm not asking for the moon... Resolved!!
Replies: 24
Views: 4107

Re: Error al leer un dll

Estimado Jorge, Si estas usando estás funciones: DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL ...
by Antonio Linares
Sat Apr 22, 2023 10:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error al leer un dll
Replies: 19
Views: 2437

Re: check existing first and last on customer

... field sizes of FIRST and LAST. Sorry Nages I have a bit of everything. your idea can only work that I have to manage the various insertion modes nMode = 1 new nMode = 2 change nMode = 3 duplicate records nMode = 4 I need this in the selection dialog I made @ 12, 10 SAY "Cognome:" OF ...
by Silvio.Falconi
Mon Jun 14, 2021 9:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: check existing first and last on customer - RESOLVED !!!
Replies: 23
Views: 3369

Ejecutar llamada a servicio.

... ShellExcute("open", "do.bat"....) Me genera todo menos la impresion del vale. He probado TODAS las combinaciones de nMode y nada de nada. Alguna idea o tip por donde ir... hasta probe oShell := CreateObject( "WScript.Shell" ) oShell:Run( "%comspec% ...
by Adolfo
Thu Aug 20, 2020 2:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ejecutar llamada a servicio.
Replies: 16
Views: 2338

Re: dialog resizable

... ::oWnd but I cannot show the caption and menu pulldown ( no good) on DIALOG it is different because I need to have DEFINE DIALOG oDlg TITLE aTitle[nMode] SIZE 1120,650 ; PIXEL TRUEPIXEL RESIZABLE FONT oFont but I not want the "X" because the user could press it and then the procedure ...
by Silvio.Falconi
Wed Jul 03, 2019 9:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: dialog resizable
Replies: 7
Views: 933

Re: To James Bott - Error Using TData

... if the progressive number I deduce from the last of the same table +1 without using sysdbf.file and autoincremental class sample: at init IF nMode == 1 .or. nMode == 3 // add new or duplicate oCust: gobottom () CCLI: = StrZero (Val (oCust: NumCli) +1.4) else cCli: = oRec: numcli // modify ...
by James Bott
Wed May 29, 2019 3:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 7166

Re: To James Bott - Error Using TData

... if the progressive number I deduce from the last of the same table +1 without using sysdbf.file and autoincremental class sample: at init IF nMode == 1 .or. nMode == 3 // add new or duplicate oCust: gobottom () CCLI: = StrZero (Val (oCust: NumCli) +1.4) else cCli: = oRec: numcli // modify ...
by Silvio.Falconi
Wed May 29, 2019 11:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: To James Bott - Error Using TData
Replies: 49
Views: 7166

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... this way and besides I have many dbf that have this type of code "0001" Please see editrecord function on my test on add New i made IF nMode == 1 cCodeCliente:=CreaCodiceClienti(oClienti) Endif cCli:=If(nMode==1,cCodeCliente,oRec:Numcli) on dialog I made @ 12, 5 SAY "Codice:" ...
by Silvio.Falconi
Sun Mar 31, 2019 4:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 4096

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

cCli is the account number of customer IF nMode == 1 oClienti:gobottom() cCodeCliente:=StrZero(val(oClienti:numcli)+1,4) Endif In one of my programs I need customer-numbers as well. There is a index on customer-number with the text-format "00000". ...
by ukoenig
Sun Mar 31, 2019 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 4096

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... } then I associated on buttons oBrwClienti:EditSource( .t. ) for add or oBrwClienti:EditSource( .f. ) for modify function EditRecord( oRec ) Local nMode:= If( oRec:RecNo == 0, 1, 2) IF nMode == 1 oClienti:gobottom() cCodeCliente :=StrZero(val(oClienti:numcli)+1,4) Endif on Dialog @ 12, 5 SAY "Codice:" ...
by Silvio.Falconi
Wed Mar 27, 2019 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 4096

Re: XBrowse & Edit Dialogs: Writing Portable code (Recommended)

... and I show the archive with a xbrowse as you can see I insert a tab to select the index on edit I have 3 option Mode nMode = 1 -> add New nMome = 2 -> modify record nMode = 3 --> duplicate record at the beginning of the edit function I call tdatarow with oRec ...
by Silvio.Falconi
Wed Mar 27, 2019 12:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: XBrowse & Edit Dialogs: Writing Portable code (Recommended)
Replies: 17
Views: 4096

Re: DLL32 FW24 vs FW916

... ) procedure ClosePort( nHandler ) // Debe llamar a CloseComFiscal() CloseComFiscal( nHandler ) return DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL FROM "OpenComFiscal" LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer ...
by hectorpapiri
Fri Nov 24, 2017 5:27 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 FW24 vs FW916
Replies: 17
Views: 3490

DLL32 FW24 vs FW916

... compilado con FW916 devuelve otros valores en las funciones. // Listado de funciones de WinFis32.dll DLL32 FUNCTION OpenComFiscal( nCom AS _INT, nMode AS _INT ) AS _INT PASCAL LIB "winfis32.dll" DLL32 FUNCTION MandaPaqueteFiscal( nHandler AS _INT, cBuffer AS LPSTR ) AS _INT PASCAL LIB ...
by hectorpapiri
Tue Nov 21, 2017 7:03 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 FW24 vs FW916
Replies: 17
Views: 3490
Next

Return to advanced search