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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Place "CLOSE" button on form 1

Status
Not open for further replies.

jelks

Technical User
Jul 11, 2001
10
0
0
US
Simple question. I know there is a simple answer. I just want to find out how to add a "close" button to a form. I want the close button to close the active form.

Thanks in advance.

jason
 
This simple answer is to add a command button to your form, and in the click event place the phrase THISFORM.RELEASE. While in the properties list you could also set CANCEL to true so when the user presses ESCAPE this button will fire.

Steve
 
Thanks SGLong. The Noggen wasn't working.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top