Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exit button

Status
Not open for further replies.

DESMODUCATI

Programmer
Joined
Jan 16, 2014
Messages
1
Location
CA
This has to be the dumbest request ever. I would like to put a button on the tool bar of the main frame so that a user can click the button and exit the program, without having to go to File/Exit or have to click the little red X at the top right. Please excuse my stupidity!

Thanks
 
Hi,

No such thing as a stupid question, in my opinion.

There are numerous ways to exit, have you tried:

a) on a button, Accepted embed - Post(EVENT:CloseDown)

b) on a button, Accepted embed - HALT()

Regards

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top