Insert a control in a tab control

G

Guest

Hi. How can I insert a control inside a tab control. I insert a tab contril
in my form. The tab control has two tabs, in one tab I want to place a
subform, how can I do it?

Regards,
Marco.
 
R

Rick Brandt

Marco said:
Hi. How can I insert a control inside a tab control. I insert a tab
contril in my form. The tab control has two tabs, in one tab I want
to place a subform, how can I do it?

Regards,
Marco.

To move an existing object onto a TabPage...

Select the object and "Cut" it to the Windows Clipboard.
Select the desired TabPage then "Paste".

For new objects...

Select desired TabPage.
Drag object over TabPage and position until the TabPage changes color or
highlights.
Drop while the TabPage is highlighted.

A quick confirmation is to change TabPages and make sure that you only see
the object when a particular page is selected and/or move the entire
TabControl itself and see if the object also moves. If you don't get those
behaviors then your object is on the form and not on the TabPage.
 
G

Guest

So simple. I tried to cut the object and past but i has all tab vcontrol
select.

Thanks.
Regards,
Marco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top