New window

Hi i'm new to delphi and i am having a little troble the thing i want to do is when you click on a button it closes the window that is open and then open a new window if this make any sense to you please help me

Gimp Master



URL:http://www.fishworldpro.homestead.com

Comments

  • : Hi i'm new to delphi and i am having a little troble the thing i want to do is when you click on a button it closes the window that is open and then open a new window if this make any sense to you please help me
    :
    : Gimp Master
    :
    : Hey Gimp Master...

    ok try this ok


    procedure TForm1.Button2Click(Sender: TObject);
    begin
    From1.Hide;
    From2.Show;
    end;

    or this one

    procedure TForm1t.Button2Click(Sender: TObject);
    begin
    From1.Visible := False;
    From2.Visible := True;
    end;



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories