I am using VFP9.0 and attempting to automatically release a Form when there is no user input (keyboard or mouse) over a period of time. The form(s) have various objects (listboxes, textfields, etc).
- I've placed a Timer on the Form and enabled the form's
KeyPreview property.
- Within the Form's Click and Keypress properties, I
reset the Form's timer control.
When the Form is active and I Click on a Listbox item [repeatedly] the Form releases. This is not the result I hoped for. I would like the Form to stay active so long as the user is actively using the Form's objects.
I'm sure their is a more intelligent method to accomplish this. Help!
- I've placed a Timer on the Form and enabled the form's
KeyPreview property.
- Within the Form's Click and Keypress properties, I
reset the Form's timer control.
When the Form is active and I Click on a Listbox item [repeatedly] the Form releases. This is not the result I hoped for. I would like the Form to stay active so long as the user is actively using the Form's objects.
I'm sure their is a more intelligent method to accomplish this. Help!