Hi Manfred,
 
use a global variable for ex :
 
boolean valueOk;
 
 
public void run()
{
    valueOk = false;
   
    super();
    this.controlUser();
}
 
void controlUser()
{
    if(!valueOk)
        this.setTimeOut("controlUser",1000,TRUE);
 
    if(Username.text() != '')                // username is a name of stringEdit..
    {
        info("user entered a value");   
        valueOk = true;                    // it disables timer !!
    }
}
 
Regards,
 
 
Anil Ozay
 
Axapta Technical Consultant
DataSistem Genel Otomasyon ve San. Tic.A.S
+90 232 4631663 - 127
 


From: smeagul2303 [mailto:[EMAIL PROTECTED]
Sent: Monday, October 25, 2004 5:21 PM
To: [EMAIL PROTECTED]
Subject: [Axapta-Knowledge-Village] Re: Global event method for form


Hi,

I use method setTimeOut().
The timeout happens regardless if someone "works" on the form .
My intention is to reset timer if someone "works" on the form.
Only if nobody use the form timer shall count down.
I want a behaviour like window screen saver.

I hope it is now more precise.

Regards

Manfred Ursprung

--- In [EMAIL PROTECTED], "wohegro"
<[EMAIL PROTECTED]> wrote:
>
> hi,
>
> have a look at the forms method setTimeOut()...
> description of these method can be found in
>      System Documentation | Classes | Object
>
> regards
> WoHeGro





Sharing the knowledge on Axapta.




Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to