Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Closing _screen
Message
From
03/08/1999 12:42:15
 
 
To
03/08/1999 12:35:46
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00249281
Message ID:
00249286
Views:
23
>I am trying to close a form in the init of the form when a condition is true. The form closes fine but the _screen stays active.
>
>I am calling the form from a program.
>
>do form formname
>read events
>
>This is the code that I'm using in the init of the form
>
>if condition is .t.
> thisform.cmdexit.click
> return .f.
>endif

More to the point, why not put the CLEAR EVENTS in this code; there's no need to do a thisform.release, since if the INIT returns .f., the form never instantiates IAC...
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