hi tank's for replay.
i did this work but ..
what kind of coding use in WHEN-TIMER-EXPIRED
for auto colse form after 5 min.
when user does not use computer.
In general you should check whether particularly the timer you need has fired that trigger and if so issue EXIT_FORM. BTW how do you identify that the form is not used?
Thank's for replay
i am useing WHEN-TIMER-EXPIRED at form level.
and create one text field name ":S" where time counting is start when form open this field start counting.
i am using this coding ...
IF :S = 300 THEN
EXIT_FORM;
END IF;
and an other coding on WHEN-MOUSE-MOVE
:S :=0;
when this field get 300 then form close and if mouse move between this then :S get 0 and time start again.
but i could not restart when key board use..
what trigger user when press any key of keyboard..
thank's for this
Abidali3/....
You cant trap the individual key presses of the keyboard in forms. This is one of its biggest failings IMO. The nearest you will get is an ON-LOCK trigger, and that will only fire once per record in base table items. You will need to reset the timer using a number of different triggers, such as WHEN-NEW-BLOCK-INSTANCE, WHEN-NEW-ITEM-INSTANCE, WHEN-NEW-RECORD-INSTANCE for example.
However, if you have a large text item that requires the user to enter a lot of data your timer could time out before they have finished entering their data!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.