Simply put i would like to open a new form as simply as possible using a button
i looked at this http://www.daniweb.com/forums/thread99518.html# but it confused me
i dont want any values passed on i just simply want it to hide the old form and open then new form can this be done?
HelpMeIT 0 Newbie Poster
Recommended Answers
Jump to PostAs I understood: You have a form "A" with a button to open a form"B", and also form "A" must close itself automatically.
First, you need a Application.MainForm always present, it may be a menu, a wellcome splash (make it invisible, don't free it) but anyway you NEED a …
Jump to PostIf you have a button that should close the form...just add this to it...
Also look into using ActionList and use the execute...you can tie lots of code into one common action.procedure TForm1.btnCloseClick(Sender: TObject); begin Form1.Close; //this will call your forms FormClose...which will call your caFree. …
All 8 Replies
HelpMeIT 0 Newbie Poster
BitFarmer 0 Junior Poster in Training
HelpMeIT 0 Newbie Poster
BitFarmer 0 Junior Poster in Training
HelpMeIT 0 Newbie Poster
BitFarmer 0 Junior Poster in Training
finalist 1 Junior Poster in Training
House_of_Dexter 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.