Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShowWindow - As a Top-Level Form
Message
From
28/04/2000 12:12:15
 
 
To
28/04/2000 11:49:12
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00364470
Message ID:
00364523
Views:
25
>What if your form have no menu, just a form with few buttons for quick data entry. When I added "Read Event" in the form's init() it made no different if I have it or not. Where exactly should I place the "Read Event" so it will work properly?
>
>Could this be done WITHOUT the following code added?
>
>*Startup.prg
>
>DO FORM C:\test\form1.scx
>Read Events
>
You should be able to place the READ EVENTS as you show above, then execute the CLEAR EVENTS in the form when the user clicks the "Exit"/"Quit"/"Close" button or whatever on the form to shut down the form. You'll need to account for the user clicking the form close (X) button to exit the form. This will fire the QueryUnload event in which you can invoke the CLEAR EVENTS.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform