zappa2 Posted February 8, 2008 Report Share Posted February 8, 2008 Hi, I have been breaking my head on this function for my program. The function is that after for example a time of 10 minutes in which nothing on the front panel has been touched by a user, a tab control should jump to tab 3. Because the program constantly runs a webcam capture loop, I can not use modules that cause wait time etc. Does anyone of you smart guys know the answer? Thanks! Quote Link to comment
Aitor Solar Posted February 8, 2008 Report Share Posted February 8, 2008 If you use events, you could set the timeout event to get fired after the desired time of inactivity. Else, you can implement a while loop that checks the amount of time elapsed. Add a queue or notifier to inform this loop it must reset the count when another control has been pressed, etc. Saludos, Aitor Quote Link to comment
viSci Posted February 8, 2008 Report Share Posted February 8, 2008 Here is something that I think could be modified for your purpose. It was designed for lab stations that have corporate mandated inactivity lockout, causing you to have to login to the workstation again if you leave it unattended for a period of time. Mike Sachs iSG Technologies Quote Link to comment
zappa2 Posted February 9, 2008 Author Report Share Posted February 9, 2008 QUOTE(sachsm @ Feb 7 2008, 01:58 PM) Here is something that I think could be modified for your purpose. It was designed for lab stations that have corporate mandated inactivity lockout, causing you to haveto login to the workstation again if you leave it unattended for a period of time. Mike Sachs iSG Technologies Thank you very much for the tips, I will be trying them next week when I am back form my work trip! Bye! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.