Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Auto Close a form?
Message
From
26/01/2009 12:55:48
 
 
To
25/01/2009 21:43:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01376662
Message ID:
01377061
Views:
15
Greg,

Sure. I did the changes and testing at home and I've now added the class to a couple of applications at work. Let me watch it for a few days and make sure I haven't injected any bugs and then I'll send you a copy.

>No, Thank You.
>
>Could please send me a copy of your version of the class. I would like to incorperate your changes and update the download posting. >I will be sure to mention your name at each change point in the code and documentation. Email me at >GregReichert@GLRsoftware.com.
>Greg Reichert
>
>
>>Thanks to everyone's suggestions, I was able to adapt Greg's class to meet my needs.
>>
>>Greg,
>>
>>In case you are interested, here is a summary of the changes I made to the class.
>>
>>1) Added code to check for UNDEFINED object. This prevents a crash if developer selects "Command Window" during testing.
>>2) Removed hard coded 10 second delay time and replaced it with "this.lnDelay" property.
>>3) In the original class, it tracked mouse movement anywhere on the desktop or over any application. This was not what I needed so I added some code that provides a choice (via property .. this.llTypeMouseTracking) for the timer to respond to mouse movements over the specific FORM or the VFP application screen.
>>4) Added new WAIT WINDOWS controlled ( via property .. this.llUserFeedbackMode) so the user is notified via WAIT WINDOWS (similar to the messages you used in DebugMode) when the form is about to close.
>>
>>Thanks again,
>>Robert
Previous
Reply
Map
View

Click here to load this message in the networking platform