Search found 102 matches: otimer

Return to advanced search

How to check still oTimer:activate?

Dear All,

I used oTimer in many screen. It's should be close in valid clause.

How can I check, which oTimer are still running?

Thanks in advance,
by dutch
Thu Jun 22, 2023 3:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to check still oTimer:activate?
Replies: 2
Views: 187

sleep function

... Does exist an alternative to sleep function? Is it possible to active a second timer? When the function polling is in execution I perform a oTimer:deactivate() obviously at the end before RETURN here is a oTimer:activate() Many thanks
by MarcoBoschi
Fri May 26, 2023 8:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: sleep function
Replies: 2
Views: 214

Re: flash a small icon

... Use a timer and change the icon I tried but I not Know How make it If lOld oMsgItem2:SetText("Archivio non aggiornato!" ) DEFINE TIMER oTimer OF oMsgItem2 ; INTERVAL 400 ; ACTION oMsgItem2:SetBitmap( MSG_ALERT, MSG_ALERT ) )) //??? ACTIVATE TIMER oTimer Endif
by Silvio.Falconi
Fri May 06, 2022 9:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: flash a small icon
Replies: 2
Views: 366

Re: Conectar SFTP con CURL

... pruebas hasta que consiga enlacar para liarme con el resto. Gracias #include "FiveWin.ch" #include "hbcurl2.ch" static oWnd, oTimer, oReader, oTdif, oFTP, oInternet, nDis //----------------------------------------------------------------------------// function Main() local ...
by pepe_garcia
Thu Mar 10, 2022 10:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conectar SFTP con CURL
Replies: 67
Views: 10251

Re: API Bancaria

... Ya he conseguido abrir la página dónde se identifica el usuario. Activo un oTimer que cada 3 segundos comprueba que se haya identificado correctamente y el servidor haya redirigido a la Url con el "?code=". El ActiveX ...
by gmart1
Wed Apr 21, 2021 6:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: API Bancaria (SOLUCIONADO)
Replies: 17
Views: 2297

Big Clock on a ribbonbar

I wish show the time on the ribbon

DEFINE FONT oFontBig NAME "MS Sans Serif" SIZE 0, -38
DEFINE TIMER oTimer OF ::oWndMain ACTION ::oBar:aDialogs[1]:Say( 0, 135, Time(),, , oFontBig )
ACTIVATE TIMER oTimer

It run ok
but How I can to make transparent the text ?
by Silvio.Falconi
Mon Apr 12, 2021 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Big Clock on a ribbonbar
Replies: 2
Views: 470

Re: TDolphin y Lost connection to MySQL server during query

define window... DEFINE TIMER oTimer_Connection OF M->oWnd INTERVAL 30000 ACTION (oTimer_Connection:DeActivate(), Connection_Test(), oTimer_Connection:Activate()) procedure Connection_Test() Local oError, lConectaNovamente := .f. TRY if !M->oServer:Execute( "SET @dummy=0" ) M->oSe...
by MGA
Mon Apr 20, 2020 1:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TDolphin y Lost connection to MySQL server during query
Replies: 4
Views: 826

Re: Close Activated Dialog by oWnd:oTimer

Dear Mr.Rao,

I will test and feedback to you.
nageswaragunupudi wrote:
Code: Select all  Expand view
AEval( GetAllWin(), { |o| If( o == nil .or. o:hWnd == GetWndApp(), nil, o:End() ) } )
 

Thanks you so much.
by dutch
Thu Feb 13, 2020 2:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close Activated Dialog by oWnd:oTimer
Replies: 4
Views: 940

Re: Close Activated Dialog by oWnd:oTimer

Code: Select all  Expand view
AEval( GetAllWin(), { |o| If( o == nil .or. o:hWnd == GetWndApp(), nil, o:End() ) } )
 
by nageswaragunupudi
Thu Feb 13, 2020 1:15 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close Activated Dialog by oWnd:oTimer
Replies: 4
Views: 940

Re: Close Activated Dialog by oWnd:oTimer

Dear Uwe,

I got the solution as your recommendation, it works fine now. The lOpen will be .F. in the Main procedure (Home) after return from sub-dialog.

Thanks for an idea.
Dutch
by dutch
Tue Feb 11, 2020 4:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close Activated Dialog by oWnd:oTimer
Replies: 4
Views: 940

Re: Close Activated Dialog by oWnd:oTimer

... a window http://www.pflegeplus.com/IMAGES/Autoclose.jpg #include "fivewin.ch"#define SC_CLOSE   0xF060STATIC oWnd, oTimer, lOpen[3]FUNCTION MAIN()local oDlg[3], oBtn[4] I := 1FOR I := 1 TO 3    lOpen[3] := .F.NEXTDEFINE WINDOW ...
by ukoenig
Mon Feb 10, 2020 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close Activated Dialog by oWnd:oTimer
Replies: 4
Views: 940

Close Activated Dialog by oWnd:oTimer

Dear All, I need to close all activated dialog by autooff() *alike screen saver*. I can use this below function for automatic log off (popup login screen) the program. http://forums.fivetechsupport.com/viewtopic.php?f=6&t=21595&start=0&hilit=getInputState I need to return...
by dutch
Sat Feb 01, 2020 3:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Close Activated Dialog by oWnd:oTimer
Replies: 4
Views: 940

Re: TIMER Question

Try to move the timer activation to the ON INIT clause (oTimer_1:Activate()).

EMG
by Enrico Maria Giordano
Wed Dec 18, 2019 8:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: TIMER Question
Replies: 3
Views: 718
Next

Return to advanced search