DO EVENTS

DO EVENTS

Postby Jimmy » Tue Aug 30, 2022 9:08 pm

hi,

under HMG / Extended Version i have to use
DO EVENTS
when have a big Loop or "wait" to get Time to process EVENTs

Code: Select all  Expand view  RUN
     DO WHILE oHTTP:readyState = 0
         nTry ++
         millisec( 500 )
#IFDEF __HMG__
         DO Events
#ELSE
         // how under FiveWin ?
#ENDIF
         IF nTry > 5
            BREAK
         ENDIF
      ENDDO


how under FiveWin :?:
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany

Re: DO EVENTS

Postby Enrico Maria Giordano » Tue Aug 30, 2022 9:29 pm

Try with SysRefresh() or SysWait().
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: DO EVENTS

Postby Jimmy » Wed Aug 31, 2022 8:53 pm

hi,
Enrico Maria Giordano wrote:Try with SysRefresh() or SysWait().

aaah, Thx
greeting,
Jimmy
User avatar
Jimmy
 
Posts: 1732
Joined: Thu Sep 05, 2019 5:32 am
Location: Hamburg, Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests