Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stop code execution & release form?
Message
From
15/10/2000 01:54:44
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00429574
Message ID:
00429575
Views:
18
>Immediately after tables are opened in load(), I have an if statement to terminate the form if tables are not up-to-date, but it will not terminate.
>
>use Locfl. . .
>if Locfl.version < 4.53
> =messagebox(‘Version 4.53 is required...
> thisform.release()
>endif
>The rest of the load-procedure should not run...
>.
>.
>What is the appropriate method to terminate the remainder of the load procedure and release the form?

If you RETURN .F. at the end of the Form .Init(), it will release itself.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform