frame

I have 1 form and 8 frame. i put all things on these frames. whene user click button i want to join  frame i want to my form on runtime.
How can i do this?
Thanks.......
DEVRAN_ALTANAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
geobulConnect With a Mentor Commented:
Hi,

You have these frames on your form, right? Something like:

TForm1 = class(TForm)
  ...
  Frame: TFrame1;
 ...

And they are not visible. So, on a button click just enable them and set them to be visible:

// perhaps hide other frames here
...
// where to show the frame (at what coordinates on the form)
Frame1.Top := 0;
Frame1.Left := 20;
// show the frame
Frame1.Enabled := true;
Frame1.Visible := true;

Regards, Geo
0
 
DEVRAN_ALTANAuthor Commented:
Thanks
0
All Courses

From novice to tech pro — start learning today.