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 PostIt should be placed on the MyForm.FromClose event, so closing (not being show in the screen) equals freeing the object:
procedure TMyForm.FormClose(Sender: TObject; var Action: TCloseAction); begin Action:= caFree; end;
The idea is that Creating is the oposite to Freeing the form, but closing is not, closing …
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.