Re: Multi-FormPosted by mei on March 28, 2002 at 15:24:17: In Reply to: Multi-Form posted by 120113430152145071-Mitch Stein on March 26, 2002 at 21:35:24: : Hi i am new to delhpi and jus starting i was wondering if someone would be able to help[ by giving me code for a multi form program just something basic : like one form with 2 buttons and when you click on a button a new form pops up which has a button on thier that ends the program if some one would be able to do that it would be greatly appreciated You can look in Delphi Help Menu about forms and terminating application or closing a form. On form2, double click the button you put there and type this code to terminate the application: When you compile, Delphi will ask to put the forms in the uses clauses, just click Yes. |
|