tab control page selector tabs not visible when form opens

A

Andy

I have a simple form with a tab control containing two pages. Each page
contains form controls such as text boxes and subforms etc. No problem. I
have to switch record source as each page is activated etc.

When I open the form the page selectors (tabs) themelves are just out of
site within the form window so you have to scroll up to see and click on the
page selectors. Once you locate and click on a page tab and back again, the
tabs stay visible.

Maybe it has got something to do with the tab order within the form and/or
tab control?

Do I need to set a property or can I code a form event to make the tab
control page selector tabs be in view when the form opens?

Thanks for any advice.
 
M

Marshall Barton

Andy said:
I have a simple form with a tab control containing two pages. Each page
contains form controls such as text boxes and subforms etc. No problem. I
have to switch record source as each page is activated etc.

When I open the form the page selectors (tabs) themelves are just out of
site within the form window so you have to scroll up to see and click on the
page selectors. Once you locate and click on a page tab and back again, the
tabs stay visible.

Maybe it has got something to do with the tab order within the form and/or
tab control?


It usually does. Try setting the tab control's TabIndex
property to 0.

You can avoid this issue by making the form's height small
enough (plus tool/menu bars) to fit in the Access window
and/or set the form's AutoResize property to Yes.
 

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