Tab Control

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to use the Tab Control feature on a form I have already designed.

I have numerous text and list boxes, command buttons and labels on a form
already. What I would like to do is to put these on 1 page of a tab control.
I added the Tab Control and then moved all the other components on top of one
of the pages tabs. It looks fine but when I run the form and try and use the
Tab Selector all the components seem to be on every page.

Does anyone know why this is?

Thanks
 
Edgar

We're not there, so we can't "see" how you "moved all the other components
on top of one of the pages tabs."

You may have already done this, but consider giving the following a try...

In design mode, select one of the controls you'd like to move to a different
page. Use <Ctrl-X> to cut it, click on the tab for the page you want to
paste it to, position your cursor in the body of that page, and use <Ctrl-V>
to paste it.
 
Edgar Thoemmes said:
I am trying to use the Tab Control feature on a form I have already designed.

I have numerous text and list boxes, command buttons and labels on a form
already. What I would like to do is to put these on 1 page of a tab control.
I added the Tab Control and then moved all the other components on top of one
of the pages tabs. It looks fine but when I run the form and try and use the
Tab Selector all the components seem to be on every page.

Does anyone know why this is?

Existing controls cannot be "moved" onto TabPages, they have to be cut to the
clipboard and then pasted onto the page after selecting it. What you have now
are controls that are "in front of" the Tab Control, not on it. You can easily
see this by moving the TabControl around. You will see that the controls do not
move with it.

New controls added to the form from the controls toolbar *can* be dragged and
dropped onto TabPages. However; you need to make sure the desired TabPage is on
top and that it changes to black when you move the mouse cursor over it before
you do the "drop".
 
Back
Top