Adding A Control To One Tab But Not Others

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

Guest

I have a form with several tabs. When I added a check box to the first tab
of the form, the check box now appears on every other tab. If I delete it
from those tabs, it disappears from the initial tab.

What am I doing wrong?

Thanks,
kd
(e-mail address removed)
 
KD said:
I have a form with several tabs. When I added a check box to the first tab
of the form, the check box now appears on every other tab. If I delete it
from those tabs, it disappears from the initial tab.

What am I doing wrong?

You're not actually placing the item on *any* of the tab pages, but on the
form in the same place where the TabControl happens to be sitting. Get the
desired tab page "on top" and then when you drag a new control from the
toolbar the tab page should turn black when you hover the mouse over it.
Then you can release the mouse button and the object will be on the page.

Surest test is to move the TabControl afterwards and see if the object also
moves. If it doesn't then you "missed".

It is also important to know that only new controls being created can be
dragged and dropped onto a TabPage. For an existing control you have to
"Cut" it to the clipboard, select the desired page and then "Paste".
 
Back
Top