tab control controls not disappearing

J

john

Access 2003:
I have a tab control with 3 tab pages in it, one of the
pages has a listbox in it along with a subform, when i
flip between pages the subform disappears like it should
but the listbox doesn't.

I've tried setting the visible property manually on the
tabconrol's change() but still nothing.

I tried adding another listbox to the page, and that one
does disappear.

What's causing this ?
 
A

Allen Browne

The list box is sitting directly on the form, not on one of the pages of the
tab control.

Select the list box.
Cut to clipboard (Ctrl+X).
Select the page of the tab.
Paste (Ctrl+V).
 
J

john

I've tried that, the tough part is that the label on top
of the listbox appears and disappears as needed, but not
the listbox
 
J

John Vinson

I also know it's on the tab page because when i drag it,
the tabpage grows larger

Try selecting the control (or controls) that do this; type Ctrl-X to
cut them; select the tab of the desired tab page (not the surface of
the page, but the tab itself - the page should darken indicating that
it's selected), and type Ctrl-V to paste them back onto the page.

John W. Vinson[MVP]
(no longer chatting for now)
 
Top