Tabs not showing

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The tab page is very long and when you open the form, it opens without the
tabs showing. You must scroll up to see them. When you go to a new record
it is usually ok. How do I get it to open at the top with the tabs showing?
Thanks
 
Hi Vicki. One option that I have used many times is to create a "dummy" text
box right underneath the tab heading and set it its visible property to "No".
In the OnOpen Event of the form, code it to say, [Dummy].SetFocus. It
should force the focus up to where you want it.

Geoff
 
Sorry Vicki..I had a bit of a lapse. Setting the dummy field to visible = No
disables it from receiving the focus. What I do is keep the visible = yes,
but I set the field to no borders and make the background the same color as
the tab page, then have the OnOpen Event do [Dummy].SetFocus

Geoff
 
Thanks Geoff, it worked perfectly! Vicki

Gwhit said:
Sorry Vicki..I had a bit of a lapse. Setting the dummy field to visible = No
disables it from receiving the focus. What I do is keep the visible = yes,
but I set the field to no borders and make the background the same color as
the tab page, then have the OnOpen Event do [Dummy].SetFocus

Geoff

VickiV said:
The tab page is very long and when you open the form, it opens without the
tabs showing. You must scroll up to see them. When you go to a new record
it is usually ok. How do I get it to open at the top with the tabs showing?
Thanks
 
Back
Top