The external forms have a form timer just like the DB forms.

Set the form timer event duration on the Form Properties tab.

In the onBeforeStart eep, set a variable (perhaps vMAXTIME) based on .#Time
+ the length of time that you want the form to stay in view without any
activity.

In the Form Timer event, create an EEP that tests whether the time has been
exceeded, if it has then CLOSEWINDOW the form or EXIT the form as the
situation requires.

In any click event while the form is active, reset the variable vMAXTIME to
reset the inactivity timeout.

Form Timers run in their own thread, so the timer will not impact
performance at all, but there is no compelling urgency to check it like
every second and perhaps every one to five minutes might be appropriate for
this use.

 

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of TOM
> HART
> Sent: Monday, October 13, 2014 12:26 PM
> To: RBASE-L Mailing List
> Subject: [RBASE-L] - Timeout in an external form
> 
> I am converting most of my menus from forms to external forms and want
> to know how to set timeout on an external form since I do not have my
> external forms connected to a database until I want to do something.
> 
> Tom Hart


Reply via email to