B4J Question how to End execution of a running app

Mikelgiles

Active Member
Licensed User
Longtime User
How do I terminate a program. In VB6 I would have released some resources and used the 'End' command.
 

EnriqueGonzalez

Well-Known Member
Licensed User
Longtime User
For a ui app if you do not have any background thread mainform.close is enough.

And if I remember correctly this will trigger the mainform_closerequest event, allowing you to do stuff before closing the app

Exitapplication for everything else
 
Last edited:
Upvote 0
Top