Board index » cppbuilder » Setting a Form into a TTabSheet of a TPageControl

Setting a Form into a TTabSheet of a TPageControl

Hi,

I want to set dynamically a Form into a client area of a TTabSheet.
I try this:

.....
MyForm->Parent=TabSheet1;
MyForm->Align=alClient;
....

but the TabSheet1 doesn't show nothing.

What can I do ?

Thanks,

Hernan Diaz

 

Re:Setting a Form into a TTabSheet of a TPageControl


: "Hernan Diaz" <h.d...@epm.net.co> wrote:

Quote
>MyForm->Parent=TabSheet1;
>MyForm->Align=alClient;
>....

>but the TabSheet1 doesn't show nothing.

Did you

  MyForm->Show();

--
General information:
  * Post to the right group - http://www.borland.com/newsgroups/
    * Do not cross- or multipost
      * Research at http://www.mers.com/searchsite.html

Stefan Hoffmeister - http://www.econos.de/
TeamB - http://www.teamb.com/

Re:Setting a Form into a TTabSheet of a TPageControl


Wow,  It's work.

Thanks ...

Other Threads