Search found 25 matches: waitseconds

Return to advanced search

Re: Envio de SMS

... oExplorer:Visible:=.F. // IE invisible // Las siguientes 4 lineas son para pausar la carga de una pagina, omitelas si no te son necesarias //WaitSeconds(5) // deshabilito, no hace falta WHILE oExplorer:Busy HB_IDLESLEEP(1) ENDDO // Guardamos en texto del resultado de la web cResult:=oExplorer:Document:Body:InnerText ...
by IVAN TRACHTA
Fri Jan 27, 2017 10:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Envio de SMS **SOLUCIONADO**
Replies: 9
Views: 4019

Re: Animation

Günther, Try to modify function WaitSeconds() this way: function WaitSeconds( nSecs )   local nStart := GetTickCount()   DEFAULT nSecs := 1   while GetTickCount() - nStart < ( 1000 ...
by Antonio Linares
Mon Nov 28, 2016 10:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Animation
Replies: 3
Views: 685

Animation

I will show a circle in 5 steps growing the Diameter. The time from step to step should be 0.1 secs. The problem with waitseconds() etc. is the stop from all activity for this time.
Is there a way without stopping the program?
by byte-one
Mon Nov 28, 2016 9:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Animation
Replies: 3
Views: 685

Re: How to print HTML file?

... ) endif oIe:Do( "Navigate2", cHtmlOrUrl) do while alltrim(oIe:document:readyState) <> 'complete' sysrefresh() waitseconds(.5) enddo if lshow oWnd:oClient = oIe ShowWindow(oWnd, 1 ) && 1=Show,0=hide ACTIVATE WINDOW oWnd oWnd:Center() else for i=1 to nCopies ...
by Jose Dolar
Tue Jan 14, 2014 5:35 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to print HTML file?
Replies: 4
Views: 1304

CTRL+C minusculo e CTRL+V em GET "@!"

... ) endif endif return 0 ... /****************************************************/ function MsgDelay() /* */ Local oDlg, bAction bAction := {|| WaitSeconds( 0.02 ) } define dialog odlg ; from 0,0 to 0,0 ; style nOr( DS_MODALFRAME, WS_POPUP ) oDlg:bStart := {|| Eval( bAction, oDlg ), oDlg:End(), ...
by MGA
Mon Dec 23, 2013 4:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: CTRL+C minusculo e CTRL+V em GET "@!"
Replies: 3
Views: 762

Re: Shellexecute question

... oTime INTERVAL 1000 ACTION if( Action( oDlg ), ( oTime:End(), oDlg:End() ), ) OF oWnd ACTIVATE TIMER oTime RETURN ( NIL ) FUNCTION Action( oDlg ) waitseconds( 1 ) RETURN ( .T. )
by ADutheil
Wed Jan 04, 2012 12:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Shellexecute question
Replies: 8
Views: 2408

Re: XML communication with another program

... cRet, ">", 2 ) - nTok1 ) IF len( cMark ) > 1 cMark := "/" + cMark IF cMark $ cRet lRetu := .T. EXIT ENDIF ENDIF ENDIF WaitSeconds( .2 ) SysRefresh() nTimeOut -= .2 ENDDO IF nTimeOut = 0 msgStop( "TIMEOUT! TRY AGAIN" ) ENDIF RETURN ( lRetu ) in a MT system.
by ADutheil
Mon Oct 10, 2011 4:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: XML communication with another program
Replies: 4
Views: 1287

msgrun - possível FIX?!

... setdialogesc(.f.) #include "FiveWin.ch" //----------------------------------------------------------------------------// function WaitSeconds( nSecs ) local nStart := GetTickCount() DEFAULT nSecs := 1 while GetTickCount() - nStart < ( 1000 * nSecs ) end return nil //----------------------------------------------------------------------------// ...
by MGA
Thu Sep 08, 2011 2:06 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: msgrun - possível FIX?!
Replies: 0
Views: 492

Re: more report on the same document PDF

Marco,

This is just a wild guess, but perhaps the first report is still running when the second report starts. You could try something like:

do while oReport1!=nil
waitseconds(1)
enddo

Regards,
James
by James Bott
Thu Oct 08, 2009 12:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: more report on the same document PDF
Replies: 1
Views: 478

Re: How to set a progressbar - range 1 - 5

Otto,

I think sleep() is in milliseconds. Change it to 500 for 5 seconds.

Or you can use waitSeconds( nSeconds ) or inkey( nSeconds ) instead of sleep().

James
by James Bott
Fri Sep 18, 2009 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to set a progressbar - range 1 - 5
Replies: 11
Views: 1855

Michel,

Try putting a sysrefresh() in after oMail:send(). If that doesn't solve it, add a delay after oMail:send().

waitSeconds(3)

Regards,
James
by James Bott
Tue Dec 02, 2008 10:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange error while quitting application
Replies: 22
Views: 3417

A Question about function < WaitSeconds( 0.3 ) >

Hello, I wanted to use the function < WaitSeconds( 0.3 ) > ( internal used in FWH - Wait-functions ) to change on click 0.3 seconds to a new color of a bitmap. After the time, i want to show the old color again. http://www.pflegeplus.com/pictures/Voolsfont1.jpg ...
by ukoenig
Sat Sep 13, 2008 9:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A Question about function < WaitSeconds( 0.3 ) >
Replies: 1
Views: 455

WaitSeconds() is supported?

Dear Antonio,

WaitSeconds( 5 ) is the PDA will wait for 5 seconds before run the next step, isn't it?

I try to put this function but I'm sure PDA wait only 2 seconds.

Best regards,
Dutch
by dutch
Tue May 20, 2008 8:53 am
 
Forum: FiveWin for Pocket PC
Topic: WaitSeconds() is supported?
Replies: 1
Views: 560

Re: WaitSeconds()

Yes.

EMG
by Enrico Maria Giordano
Tue May 20, 2008 8:42 am
 
Forum: FiveWin for Pocket PC
Topic: WaitSeconds()
Replies: 6
Views: 2099

Re: WaitSeconds()

Dear Enrico,

Sleep( 1000 ) = ? // 1 second?

Best regards,
Dutch


Enrico Maria Giordano wrote:Try

Code: Select all  Expand view
#pragma BEGINDUMP

#include "windows.h"
#include "hbapi.h"


HB_FUNC( SLEEP )
{
    Sleep( hb_parnl( 1 ) );
}

#pragma ENDDUMP


EMG
by dutch
Tue May 20, 2008 8:10 am
 
Forum: FiveWin for Pocket PC
Topic: WaitSeconds()
Replies: 6
Views: 2099
Next

Return to advanced search