Search found 828 matches: sysrefresh

Return to advanced search

Re: Generación archivos PDF

FiveWiDi wrote:Sysrefresh() = Syswait()


No, it is not. SysWait() is a loop of SysRefresh() for a given amount of time.
by Enrico Maria Giordano
Tue Apr 30, 2024 9:17 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generación archivos PDF
Replies: 17
Views: 356

Re: Generación archivos PDF

FUNCTION Main()   WHILE( .NOT. EOF() )      SYSREFRESH()      HB_GCALL( .F. ) // Pruebe con .T. tambien.      IF EOF()         EXIT      ENDIF      VTA1100PE() // Tiene que generar un archivo PDF.    ...
by FiveWiDi
Tue Apr 30, 2024 9:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generación archivos PDF
Replies: 17
Views: 356

Re: Generación archivos PDF

Hola Pedro, Yo tengo exactamente el mismo problema, estoy intentando solucionarlo con SysWait( 3 ), que hace SysRefresh() durante 3 segundos, pero aun así obtengo ficheros son contenido. Lo subiré a 5 pero no me gusta nada esta solución, en el supuesto que funcione. A ver si ...
by FiveWiDi
Tue Apr 30, 2024 7:22 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Generación archivos PDF
Replies: 17
Views: 356

Re: Help with HB_REALLOC ERROR 9009

... I call an external function each time I read a xml file, close it and turn to nil each class instance. For every 400 files I do a HB_GcAll() and a SysRefresh(), the biggest xml file is just 29 kb Im going to put your code inside the loop, and show it every 1.000 files, hope it helps to know Thanks
by Adolfo
Wed Mar 20, 2024 8:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Help with HB_REALLOC ERROR 9009
Replies: 5
Views: 1120

Re: Error 32 al querer renombrarse un achivo

Prueba a hacer un SysRefresh() antes del rename para darle opción a Windows a procesar tu petición:

fclose(hfile)
SysRefresh()
...
by Antonio Linares
Thu Mar 07, 2024 7:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error 32 al querer renombrarse un achivo
Replies: 7
Views: 308

Re: xbrowse No existe el metodo: LREADONLY

... oBtn[3] ID 302 OF oDlg; 2007; CENTER; NOROUND; PROMPT "Salir"; GRADIENT BtnGradRed() oBtn[3]:bAction = <|| lExit := .T. oDlg:End() SysRefresh() hb_gcAll(.T.) Return Nil > Albeiroval, intenta asi por favor: #Define aPubGrad {| lInvert | If( lInvert, ;      ...
by karinha
Sat Mar 02, 2024 1:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 500

Re: xbrowse No existe el metodo: LREADONLY

... oBtn[3] ID 302 OF oDlg; 2007; CENTER; NOROUND; PROMPT "Salir"; GRADIENT BtnGradRed() oBtn[3]:bAction = <|| lExit := .T. oDlg:End() SysRefresh() hb_gcAll(.T.) Return Nil >
by albeiroval
Sat Mar 02, 2024 4:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: xbrowse No existe el metodo: LREADONLY
Replies: 16
Views: 500

Re: MariaDb SetFilter Error no definida: SOLUCIONADO

... Else x := Upper(Alltrim( cPer )) EndIf cWhere := "detalle LIKE '"+x+"%'" oQry:SetFilter( cWhere ) aServer:ShowError() SysRefresh() oBrw:Refresh() WaitOff( @oWait ) EndIf
by CARLOS ATUNCAR
Sat Jan 27, 2024 1:14 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MariaDb SetFilter Error no definida: SOLUCIONADO
Replies: 2
Views: 177

Re: MariaDb SetFilter no realiza Filtrado

... "" Else x := Upper(Alltrim( cPer )) cWhere := "c.detalle LIKE '% ? %' " EndIf oQry:SetFilter( cWhere ,{x}) aServer:ShowError() SysRefresh() oBrw:Refresh() WaitOff( @oWait ) EndIf Return da este resultado Compiler version: xHarbour 1.3.0 Intl. (SimpLex) (Build 20230914) FiveWin ...
by CARLOS ATUNCAR
Sat Jan 27, 2024 12:04 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: MariaDb SetFilter Error no definida: SOLUCIONADO
Replies: 2
Views: 177

MariaDb SetFilter Error no definida: SOLUCIONADO

... "" Else mWhere := {Upper(Alltrim( cPer ))} cWhere := "c.detalle LIKE '%?%'" EndIf TRY oQry:SetFilter( cWhere , mWhere) CATCH o SysRefresh() END oBrw:Refresh() WaitOff( @oWait ) EndIf Return Pero no me esta realizando el filtrado
by CARLOS ATUNCAR
Fri Jan 26, 2024 11:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: MariaDb SetFilter Error no definida: SOLUCIONADO
Replies: 2
Views: 177

Re: Soap Web Service - timeout request

... "Authorization", "Basic "+hb_base64Encode(cCred)) oHttp:Send( cHttpSend ) oHttp:WaitForResponse( nSecs ) Sysrefresh() IF oHttp:status=200 cWinResp := oHttp:ResponseBody ENDIF
by Antonio Linares
Tue Jan 09, 2024 6:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 709

Soap Web Service - timeout request

... oHttp:SetRequestHeader( "Authorization", "Basic "+hb_base64Encode(cCred)) oHttp:Send( cHttpSend ) Sysrefresh() IF oHttp:status=200 cWinResp := oHttp:ResponseBody ENDIF
by cdmmaui
Mon Jan 08, 2024 9:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Soap Web Service - timeout request
Replies: 4
Views: 709

Re: SysWait() ó SysRefresh()

Gracias !
by sysctrl2
Mon Nov 20, 2023 8:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysWait() ó SysRefresh()
Replies: 2
Views: 272

Re: SysWait() ó SysRefresh()

No difference, other than the duration:

Code: Select all  Expand view
function SysWait( nLong )

   local nSeconds

   DEFAULT nLong := .1
   nSeconds := Seconds() + nLong

   while Seconds() < nSeconds
     SysRefresh()
   end

return .t.
by Enrico Maria Giordano
Mon Nov 20, 2023 8:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysWait() ó SysRefresh()
Replies: 2
Views: 272

SysWait() ó SysRefresh()

SysWait() ó SysRefresh()
Maestro Antonio Linares C. !
cual es la diferencia entre estas 2 funciones?

saludos !
by sysctrl2
Mon Nov 20, 2023 5:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: SysWait() ó SysRefresh()
Replies: 2
Views: 272
Next

Return to advanced search