Page 1 of 1

2 forms in delphi 7

PostPosted: July 31st, 2007, 1:33 am
by dialeyj2
im trying to creat a program that opens to a main screen and you have a

choice to click information or calculator. once you select one it will close

the main menu and open up which ever you selected?


how should i make it do this? :)

PostPosted: July 31st, 2007, 10:49 pm
by Kambiz
Add the unit of the second form (Unit2) to uses clause of the first unit (Unit1).
On click, call Form2.ShowModal to show the second form.