Re: Hide page upon opening
- From: "missinglinq via AccessMonster.com" <u28780@uwe>
- Date: Mon, 02 Jul 2007 19:14:05 GMT
The other thing you need to understand is that the index for the tabbed pages
start at 0 (zero) not at 1!
Assuming you want what shows up as Page1 visible when you open the form, your
code should be:
TabCtl1.Pages(0).Visible = True
TabCtl1.Pages(1).Visible = False
TabCtl1.Pages(2).Visible = False
That's right! Page1 is referred to as TabCtl1.Pages(0) in code!
Ain't Access just a barrel of laughs?
--
There's ALWAYS more than one way to skin a cat!
Answers/posts based on Access 2000
Message posted via http://www.accessmonster.com
.
- References:
- Re: Hide page upon opening
- From: George Nicholson
- Re: Hide page upon opening
- Prev by Date: RE: displaying data for current week
- Next by Date: Re: Realtime clock on a form
- Previous by thread: Re: Hide page upon opening
- Next by thread: Re: Hide page upon opening
- Index(es):
Relevant Pages
|
Loading