We help IT Professionals succeed at work.

main form invisible?

comicboy
comicboy asked
on
Hi experts,

I need my main form invisible from starting and will only visible if I said Form.Show;

I try this Form.OnCreate => Form.Hide; but not work
Comment
Watch Question

Commented:
Put this befor your main form creation in main project file:

  Application.ShowMainForm:= False;

Motaz
CERTIFIED EXPERT
Top Expert 2004

Commented:
motaz, you're faster than ever :-)
Commented:
example:

{$R *.res}

begin
  Application.Initialize;
  Application.ShowMainForm:= False;
  Application.CreateForm(TfmMain, fmMain);
  Application.CreateForm(TfmMem, fmMem);
  Application.CreateForm(TfmConfig, fmConfig);
  Application.Run;
end.

Hi Miekl, your today's qow is too hard:)
why not restricting only top 10 experts, we need alot of points to stay in top 15;)

Motaz
CERTIFIED EXPERT
Top Expert 2004

Commented:
hi motaz,
i've changed the grading chance
of the qow, now it should be easier

meikl ;-)

Author

Commented:
Hi Motaz :) sorry for delay, I've been gone for awhile, anyway your answer is right on the target. Excellent!!!

Commented:
thanks and welcome any time

Explore More ContentExplore courses, solutions, and other research materials related to this topic.