Search found 91 matches: nresult

Return to advanced search

Re: ejemplo mantenimiento dbf usando webview2

... //function WebView2_OnEval( cJson, hWebView ) // // local nAt := AScan( aWebViews, { | o | o:hWebView == hWebView } ), nResult // // if nAt != 0 .and. ! Empty( aWebViews[ nAt ]:bOnEval ) // nResult = Eval( aWebViews[ nAt ]:bOnEval, cJson, hWebView ) // endif // //return ...
by cpheraclio
Mon Oct 07, 2024 7:13 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ejemplo mantenimiento dbf usando webview2
Replies: 10
Views: 554

Re: Problemas con una búsqueda.

... ):Cargo) endif dWork++ next next oDlg:Cargo := dDate ACTIVATE DIALOG oDlg CENTERED dSelect := oDlg:Cargo if oGet != NIL oGet:VarPut( If( oDlg:nResult == IDOK, dSelect, dDate ) ) oGet:Refresh() endif CLOSE FERIADOS return If( oDlg:nResult == IDOK, dSelect, ctod('//') ) //return If( oDlg:nResult ...
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: MQTT xHarbour

... #DEFINE DLL_OSAPI 0x0020 // __stdcall #DEFINE NULL Nil Static nHandle Static ConnLost , MsgArrvd, Delivered Function WPRA101_MQTT() Local nResult if !file( MQTTLIB ) Vt_Aviso("Arquivo " + MQTTLIB + " não localizado...",.T.) Return( Nil ) Endif nHandle := 0 cAddress ...
by lzanardo
Thu May 23, 2024 12:54 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MQTT xHarbour
Replies: 7
Views: 1083

Re: Create a Panel width a text

If I made IF oDlgBacheca:nresult == IDOK aDim = GetLabelDim( oPanel2:hWnd, cMessage , oFont:hFont ) oPanel:setsize(aDim[ 1 ] + 60, aDim[ 2 ] + 50) oPanel:SetColor( "N/W*" ) oPanel:bPainted = { | hDC | DrawTextTransparent( hDC, ...
by Silvio.Falconi
Sat Jan 06, 2024 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Create a Panel width a text
Replies: 29
Views: 5165

Re: check on get

... all the dialogs that I have already done for many years it is possible to use ( oDlg:end( IDOK ) ) and ( oDlg:end( IDCANCEL ) ) ? and use IF oDlg:nresult == IDOK orec:save() ENDIF if I have to change all the insertion dialogs to check the get controls with the lsave variable I prefer not to do ...
by Silvio.Falconi
Sat Dec 02, 2023 11:58 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: check on get
Replies: 27
Views: 5416

Re: como obtengo el valor mas chico de un array

AScan( ASort( AClone( a ) ), { | n, nPos | n := cToD(a:cargo["fecha"]), If( nVal < n, nResult := AScan( a, n) ) - 1,), cToD(n) > nVal } )

estás seguro de que ese código te funciona bien ?
by Antonio Linares
Wed Aug 23, 2023 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: como obtengo el valor mas chico de un array
Replies: 10
Views: 963

Re: como obtengo el valor mas chico de un array

Gracias a ambos. tomo como ejemplo este: AScan( ASort( AClone( a ) ), { | n, nPos | If( nVal < n, nResult := AScan( a, n ) - 1,), n > nVal } ) en mi caso "n" voy a usarlo asi: cToD(a:cargo["fecha"]) Mi consulta: para que el codigo no quede tan largo ...
by goosfancito
Wed Aug 23, 2023 5:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: como obtengo el valor mas chico de un array
Replies: 10
Views: 963

Conectar a un SFTP con CURL usando xHarbour ...

... hb_vfSize( cFileName ) ) el codigo que uso es este: function sFtpSubirFichero( cUrlFileName, cFileName, aUser, aPass ) local hCurl local nResult local aaUser := AllTrim(aUser) local aaPass := AllTrim(aPass) local aCadena := aaUser+":"+aaPass curl_global_init() if ! empty( hCurl ...
by Enrrique Vertiz
Tue Jul 18, 2023 10:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conectar a un SFTP con CURL usando xHarbour ...
Replies: 10
Views: 1318

Re: Conectar SFTP con CURL

... hb_vfSize( cFileName ) ) el codigo que uso es este: function sFtpSubirFichero( cUrlFileName, cFileName, aUser, aPass ) local hCurl local nResult local aaUser := AllTrim(aUser) local aaPass := AllTrim(aPass) local aCadena := aaUser+":"+aaPass curl_global_init() if ! empty( hCurl ...
by Enrrique Vertiz
Thu Jun 29, 2023 12:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conectar SFTP con CURL
Replies: 67
Views: 14078

Re: Conectar SFTP con CURL

Tengo este código, y no me funciona. Todos los envios retornan 0 nResult devuelve 1 #include "c:\harb16\include\hbcurl.ch"#include "fivewin.ch"function Main()? curl_global_init()? FtpUploadFile( "sftp://10.10.1.6/test.prg", ...
by cmsoft
Mon Mar 14, 2022 11:57 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conectar SFTP con CURL
Replies: 67
Views: 14078

Re: set Report Orientation

... oGetland VAR lLandscape PROMPT "Stampa in Orizzontale"; SIZE 120,26 of oDlgStampa ACTIVATE DIALOG oDlgStampa CENTER IF oDlgStampa:nresult == IDOK ?llandscape // here is .t. bSetUp := {|oRep, oBrw, n, llandscape| MyRepSetup( oRep, oBrw, n,llandscape )} oBrw:Report("Elenco Categorie",.T.,,bSetUp ...
by Silvio.Falconi
Tue Jan 04, 2022 12:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: set Report Orientation
Replies: 17
Views: 2096

set column

... {}, ; AEval( oBrw:aArrayData, { |a| If( a[ 3 ], AAdd( aCols, oBrowse:aCols[ a[ 2 ] ] ), nil ) } ), ; oDlgOptions:end( IDOK ) ) ... IF oDlgOptions:nresult == IDOK return aCols ENDIF return NIL everything works fine but my concern is that if the user does not click on the first column (checkbox) ...
by Silvio.Falconi
Tue Nov 16, 2021 12:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: set column
Replies: 0
Views: 290

Re: New FTDN June/Junio (FWH 21.06)

... cFileName, aInfo, [lDate] ) Ahora, cFileName está predeterminado a SetLogFile() * Nueva función MapDrive( cDrive, cPath, cUser, cPassWord ) --> nResult (source\function\filename.prg) El valor de retorno 0 indica éxito. cPath puede ser una ruta UNC o puede usar una unidad ya mapeada. cPath puede ...
by Antonio Linares
Wed Jul 28, 2021 2:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 3802

New FTDN June/Junio (FWH 21.06)

... LogFile( cFileName, aInfo, [lDate] ) Now, cFileName defaults fo SetLogFile() * New function MapDrive( cDrive, cPath, cUser, cPassWord ) --> nResult (function\filename.prg) Return value 0 indicates success cPath can be uncpath or can use aleady mapped drive. cPath can be a unicode path. If ...
by Antonio Linares
Tue Jul 27, 2021 4:47 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Junio (FWH 21.06)
Replies: 7
Views: 3802

New FTDN June/Jnio (FWH 21.06)

... LogFile( cFileName, aInfo, [lDate] ) Now, cFileName defaults fo SetLogFile() * New function MapDrive( cDrive, cPath, cUser, cPassWord ) --> nResult (function\filename.prg) Return value 0 indicates success cPath can be uncpath or can use aleady mapped drive. cPath can be a unicode path. If ...
by Antonio Linares
Tue Jul 27, 2021 4:46 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN June/Jnio (FWH 21.06)
Replies: 0
Views: 1156
Next

Return to advanced search