Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing a Form During Instantiation?
Message
 
 
To
21/05/2001 10:06:34
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00509430
Message ID:
00509432
Views:
16
This message has been marked as the solution to the initial question of the thread.
>I have a help screen that is called via ON KEY and depending on the user's response I would like to stop the form from running. The user message is called during the form's Init method, but I can't seem to get the form not to actually appear on screen. I've used ThisForm.Release and Return to no avail. I'm about to simply use a PRG called by the ON KEY to handle the code I have in the Init and call the form depending on the response, but I've been trying to get away from using extraneous PRGs if possible and wanted to find a cleaner method. What would be the best way to handle this? Thanks!
>
>Regards, Renoir

Return .f. from Init. Set Form.visible to false and set it to true, if the condition is met in the form.Init.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform