Form always defaults to centre on open

G

Guest

I have a main form that contains a tab control in the detail section. Each of the tabs (approx. seven) contain their own sub-form. Each of the sub-forms vary in size (height).

The problem I have is that when the user clicks on any of the tabs, it always opens the sub form looking at the centre of it. I have set all the 'align centre' to "No", but it doesn't seem to make any difference.

What do I have to do so that when the user clicks on any of the tabs, it will always open the sub-form looking at the top of it???
 
K

Kelvin

Check the tab order in the subfroms. If the first tab is in the middle of
the form, it will scroll down to that point automatically. Access will
remember which field it left on so to be safe you could set the focus to the
first control on the subform in the OnClick event of each tab.

Kelvin

Steven Waugh said:
I have a main form that contains a tab control in the detail section. Each
of the tabs (approx. seven) contain their own sub-form. Each of the
sub-forms vary in size (height).
The problem I have is that when the user clicks on any of the tabs, it
always opens the sub form looking at the centre of it. I have set all the
'align centre' to "No", but it doesn't seem to make any difference.
What do I have to do so that when the user clicks on any of the tabs, it
will always open the sub-form looking at the top of it???
 

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