Hello,
At the start of my application, there is asked for a username and a password. There is also a timer which ends this dialog box after 10 seconds.
This code is used :
Until some time ago, this was working fine. But suddenly the timer refused to work : the dialog box is not closed ater 10 seconds.
Anyone any idea why ?
Thanks a lot in advance for any help.
At the start of my application, there is asked for a username and a password. There is also a timer which ends this dialog box after 10 seconds.
This code is used :
DEFINE DIALOG PasDlg NAME "K_PASWINGAVE"
REDEFINE GET pGET[1] VAR cUSER ID 101 OF PasDlg PICTURE REPLICATE("X",40)
REDEFINE GET pGET[2] VAR OldPas ID 102 OF PasDlg PICTURE "!!!!!!" VALID CtrPaswOK()
pGET[1]:bGotFocus := {|| SYSREFRESH(),pGET[1]:Assign(),pGET[1]:SetSel(0,LEN(RTRIM(cUSER )))}
pGET[2]:bGotFocus := {|| SYSREFRESH(),pGET[2]:Assign(),pGET[2]:SetSel(0,LEN(RTRIM(OldPas)))}
pGET[2]:lPassword := .T.
DEFINE TIMER PWTim INTERVAL 10000 ACTION (PasDlg:End())
ACTIVATE TIMER PWTim
ACTIVATE DIALOG PasDlg CENTEREDUntil some time ago, this was working fine. But suddenly the timer refused to work : the dialog box is not closed ater 10 seconds.
Anyone any idea why ?
Thanks a lot in advance for any help.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773