Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stop code execution & release form?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00429574
Message ID:
00429592
Views:
16
Mike,

You can also just return .F. from Load() if you don't want the form to load, this has the benefits of not having the controls construct.

>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?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform