|
Post by adynis on Apr 18, 2005 15:33:10 GMT -5
I make a program, and I want , for example, when I press the X button, to close the program... How can I do it?
|
|
|
Post by Murariu Alexandru on Apr 19, 2005 4:43:59 GMT -5
Use Self.Close
procedure XOnClick(Sender : TObject); begin Self.Close; end;
|
|
|
Post by adynis on Apr 19, 2005 13:03:44 GMT -5
Is not working Self.Close But i've seen in another exemple of your's application.Termiante; which worked ... PS. I hope you speak romanian: Ti-am dat un PM, nu mi-ai raspuns.. Era in legatura cu o varianta de folosi CD_IsDoorOpen din visualc++, esti singurul care m-ai putea ajuta.
|
|