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

Close a form ???

Status
Not open for further replies.

nvduan

Programmer
May 9, 2002
9
VN
I'm use method
thisform.release
with method i'm closed form and i'm complied to Application. When i'm run Application and click on button with method
thisform.release
Program can not close form. Before i'm use command
clear all
You help me ? Use command "clear all" but still close form ?
Thank you very much !
 
NVDUAN,
Instead of CLEAR ALL, due to your english, I may be misinterpreting, and if I am I'm sorry. I think what you are looking for is CLEAR EVENTS, to exit your application, not just close the form?
If you issue ThisForm.Release() it should close the current form you are in. If you're trying to do that, put it in the button's Click event. Best Regards,
Scott

"Everything should be made as simple as possible, and no simpler."[hammer]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top