Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conditionally Preventing a form from display
Message
From
30/03/2000 18:15:33
 
 
To
29/03/2000 16:03:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00352367
Message ID:
00352978
Views:
10
>I want to prevent form b for displaying if form a is not active. I now know how to check if
>form is open. What I cannot figure out is how to close form a before it even displays. I tried
>putting thisform.release() in the activate, init, and load events of the form. None of them seem
>to work. Is this possible? If so how. Am I using the wrong event or the wrong command?

Simply have the Init method return .F.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform