468,768 Members | 1,491 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,768 developers. It's quick & easy.

working with a tab control with no tabs in design view

I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that when they
scroll down, they can still switch tabs). Now, this works fine. However,
when I'm in Design View, I can't access the tabs without changing the tab
control's Style back to Tabs. But I want to be able to place controls in
that space at the top where the tabs used to be. But if I need to turn the
tabs back on when I need to make design changes, then I can't do that. So
the result is wasted space at the top of the tab control, because I have to
toggle the tabs back on whenever I need to make design changes.

Is there a way to cycle through the tabs in a tab control in design view
without the tabs being on? I can select the tab control, itself, by using
the Object dropdown in the toolbar; but I can't get to tab 2, 3, etc.,
unless I turn the tabs back on. There must be a way to do this. How else
would one work with it in Design View with the tabs off?

Thanks for any assistance.
Sep 22 '07 #1
7 3492
Phil Reynolds wrote:
I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that
when they scroll down, they can still switch tabs). Now, this works
fine. However, when I'm in Design View, I can't access the tabs
without changing the tab control's Style back to Tabs. But I want to
be able to place controls in that space at the top where the tabs
used to be. But if I need to turn the tabs back on when I need to
make design changes, then I can't do that. So the result is wasted
space at the top of the tab control, because I have to toggle the
tabs back on whenever I need to make design changes.
Is there a way to cycle through the tabs in a tab control in design
view without the tabs being on? I can select the tab control, itself,
by using the Object dropdown in the toolbar; but I can't get to tab
2, 3, etc., unless I turn the tabs back on. There must be a way to do
this. How else would one work with it in Design View with the tabs
off?
Thanks for any assistance.
Each page of the TabControl is also listed in the Object dropdown in the
toolbar. When I use that style of TabPage I name them so that they are pushed
to the top of the list to make it easier ("AAATabPage1" or similar).

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Sep 22 '07 #2
set the tab style to none in the onActivate event:

Me.TabCtl0.Style = 2

you will have the set the TOP property at the same time to account for the
shift of the control without the tabs.

"Phil Reynolds" <ph*******@msn.comwrote in message
news:lN*****************@newssvr17.news.prodigy.ne t...
I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that when they
scroll down, they can still switch tabs). Now, this works fine. However, when
I'm in Design View, I can't access the tabs without changing the tab
control's Style back to Tabs. But I want to be able to place controls in that
space at the top where the tabs used to be. But if I need to turn the tabs
back on when I need to make design changes, then I can't do that. So the
result is wasted space at the top of the tab control, because I have to
toggle the tabs back on whenever I need to make design changes.

Is there a way to cycle through the tabs in a tab control in design view
without the tabs being on? I can select the tab control, itself, by using the
Object dropdown in the toolbar; but I can't get to tab 2, 3, etc., unless I
turn the tabs back on. There must be a way to do this. How else would one
work with it in Design View with the tabs off?

Thanks for any assistance.

Sep 22 '07 #3
in addition to Rick's solution, you can choose any control from the Object
dropdown list, that is on a particular tabpage, and that will bring that
page "to the front".

hth
"Phil Reynolds" <ph*******@msn.comwrote in message
news:lN*****************@newssvr17.news.prodigy.ne t...
I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that when
they
scroll down, they can still switch tabs). Now, this works fine. However,
when I'm in Design View, I can't access the tabs without changing the tab
control's Style back to Tabs. But I want to be able to place controls in
that space at the top where the tabs used to be. But if I need to turn the
tabs back on when I need to make design changes, then I can't do that. So
the result is wasted space at the top of the tab control, because I have
to
toggle the tabs back on whenever I need to make design changes.

Is there a way to cycle through the tabs in a tab control in design view
without the tabs being on? I can select the tab control, itself, by using
the Object dropdown in the toolbar; but I can't get to tab 2, 3, etc.,
unless I turn the tabs back on. There must be a way to do this. How else
would one work with it in Design View with the tabs off?

Thanks for any assistance.


Sep 22 '07 #4
Ah cool! Thanks!

"Rick Brandt" <ri*********@hotmail.comwrote in message
news:y2****************@nlpi068.nbdc.sbc.com...
Phil Reynolds wrote:
>I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that
when they scroll down, they can still switch tabs). Now, this works
fine. However, when I'm in Design View, I can't access the tabs
without changing the tab control's Style back to Tabs. But I want to
be able to place controls in that space at the top where the tabs
used to be. But if I need to turn the tabs back on when I need to
make design changes, then I can't do that. So the result is wasted
space at the top of the tab control, because I have to toggle the
tabs back on whenever I need to make design changes.
Is there a way to cycle through the tabs in a tab control in design
view without the tabs being on? I can select the tab control, itself,
by using the Object dropdown in the toolbar; but I can't get to tab
2, 3, etc., unless I turn the tabs back on. There must be a way to do
this. How else would one work with it in Design View with the tabs
off?
Thanks for any assistance.

Each page of the TabControl is also listed in the Object dropdown in the
toolbar. When I use that style of TabPage I name them so that they are
pushed to the top of the list to make it easier ("AAATabPage1" or
similar).

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Sep 24 '07 #5
Actually what I found was that the tab control, itself, stays in place
relative to the controls outside of it; but there's an extra space *inside*
the control at the top, where the tabs used to be. I want to use that extra
space for the controls inside the tab control, which is why I couldn't
toggle back and forth.

Thanks.

"MikeB" <m.byerleyATVerizonDottieNettiewrote in message
news:uc**************@TK2MSFTNGP02.phx.gbl...
set the tab style to none in the onActivate event:

Me.TabCtl0.Style = 2

you will have the set the TOP property at the same time to account for the
shift of the control without the tabs.

"Phil Reynolds" <ph*******@msn.comwrote in message
news:lN*****************@newssvr17.news.prodigy.ne t...
>I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that when
they scroll down, they can still switch tabs). Now, this works fine.
However, when I'm in Design View, I can't access the tabs without
changing the tab control's Style back to Tabs. But I want to be able to
place controls in that space at the top where the tabs used to be. But if
I need to turn the tabs back on when I need to make design changes, then
I can't do that. So the result is wasted space at the top of the tab
control, because I have to toggle the tabs back on whenever I need to
make design changes.

Is there a way to cycle through the tabs in a tab control in design view
without the tabs being on? I can select the tab control, itself, by using
the Object dropdown in the toolbar; but I can't get to tab 2, 3, etc.,
unless I turn the tabs back on. There must be a way to do this. How else
would one work with it in Design View with the tabs off?

Thanks for any assistance.


Sep 24 '07 #6
Hmm, interesting. OK, that's good to know too. Thanks!

"tina" <no****@address.comwrote in message
news:Lo********************@bgtnsc05-news.ops.worldnet.att.net...
in addition to Rick's solution, you can choose any control from the Object
dropdown list, that is on a particular tabpage, and that will bring that
page "to the front".

hth
"Phil Reynolds" <ph*******@msn.comwrote in message
news:lN*****************@newssvr17.news.prodigy.ne t...
>I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that when
they
>scroll down, they can still switch tabs). Now, this works fine. However,
when I'm in Design View, I can't access the tabs without changing the tab
control's Style back to Tabs. But I want to be able to place controls in
that space at the top where the tabs used to be. But if I need to turn
the
tabs back on when I need to make design changes, then I can't do that. So
the result is wasted space at the top of the tab control, because I have
to
>toggle the tabs back on whenever I need to make design changes.

Is there a way to cycle through the tabs in a tab control in design view
without the tabs being on? I can select the tab control, itself, by using
the Object dropdown in the toolbar; but I can't get to tab 2, 3, etc.,
unless I turn the tabs back on. There must be a way to do this. How else
would one work with it in Design View with the tabs off?

Thanks for any assistance.



Sep 24 '07 #7
you're welcome :)
"Phil Reynolds" <ph*******@msn.comwrote in message
news:jB***************@newssvr17.news.prodigy.net. ..
Hmm, interesting. OK, that's good to know too. Thanks!

"tina" <no****@address.comwrote in message
news:Lo********************@bgtnsc05-news.ops.worldnet.att.net...
in addition to Rick's solution, you can choose any control from the
Object
dropdown list, that is on a particular tabpage, and that will bring that
page "to the front".

hth
"Phil Reynolds" <ph*******@msn.comwrote in message
news:lN*****************@newssvr17.news.prodigy.ne t...
I'm using a tab control in Access 2000, and the user requested to have
buttons in the form header, instead of the built-in tabs (so that when
they
scroll down, they can still switch tabs). Now, this works fine.
However,
when I'm in Design View, I can't access the tabs without changing the
tab
control's Style back to Tabs. But I want to be able to place controls
in
that space at the top where the tabs used to be. But if I need to turn
the
tabs back on when I need to make design changes, then I can't do that.
So
the result is wasted space at the top of the tab control, because I
have
to
toggle the tabs back on whenever I need to make design changes.

Is there a way to cycle through the tabs in a tab control in design
view
without the tabs being on? I can select the tab control, itself, by
using
the Object dropdown in the toolbar; but I can't get to tab 2, 3, etc.,
unless I turn the tabs back on. There must be a way to do this. How
else
would one work with it in Design View with the tabs off?

Thanks for any assistance.



Sep 25 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Paul Mendez | last post: by
17 posts views Thread by Kbalz | last post: by
reply views Thread by Marin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.