Strange Behavior

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

Hi,

I have a form with a tab control on it and three pages in the tab
control. I dropped some text boxes and labels onto the first page
and began to work with them.

When I executed my program and toggled the different pages in the
tab control, some of the textboxes and labels appeared on only the
first tab page, as intended, but other textboxes and labels appeared on
all three tab pages - definitely NOT intended.

I examined the properties of the textboxes and nothing jumped out
at me as being wrong.

Can someone tell me what I did wrong or how to make the textboxes
appear on one tab page and ONLY ONE tab page?


Thanks,
Jim
 
Jim

LOL - That one drove me crazy the first time I tried it.

When you move a control onto a tab page you cna't just drag and drop it. You
have to cut it, highlight the page and then paste the control.

Otherwise, you aer just positioning the control on top ot the page on "in"
it.
 
Jim

If you "drop" a textbox on the form, but the specific tab control page
doesn't highlight-up, you are placing the textbox "above" the tab control,
not onto it. Consider cutting the textbox control, placing it on the form
(but not on the tab control), highlighting the tab page you want, and
dragging the textbox control over the tab page. If the tab page doesn't
"light up", the textbox will not land on that page when you drop it.

Regards

Jeff Boyce
Microsoft Office/Access MVP
 
Jim,
When you place controls on a tab, they must be pasted there... while that particular
tab is selected. If not, they are considered to be on the main form, and show in all
tabs.
Highlight the control and copy it. Select the indivudual tab page, and paste it in
that area.
 
Back
Top