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

Calling a form - Newbie question

Status
Not open for further replies.

rhysmeister

Programmer
May 29, 2003
54
0
0
GB
Say I build a second form in a project and have a menu in the main screen with which I want to use to call up my second form..

i.e. In Main form

File > Call Form

Second form Appears.

Obviously this would be in a procedure (really hard not calling them functions!), thanks.
 
Form2.Show;

or

Form2.ShowModal;

[blue]A good friend will come and bail you out of jail, but a true friend will be sitting next to you saying "Damn that was fun!"[/blue]
 
Great, that simple! Always like a tipster that doesn't patronise!
 
Hi.

Just a quick tip - when you're coding and want to include another unit in the project, press Alt-F11.

mf_of_john.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top