Form always defaults to centre on open

  • Thread starter Thread starter Guest
  • Start date Start date
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???
 
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???
 
Back
Top