473,223 Members | 1,776 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,223 software developers and data experts.

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 3712
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Paul Mendez | last post by:
I am creating a form with a tab control containing 10 tabs. and what I want to do is on only on of the tabs, I want a sub section of tabs. So what it ends up being is one main tab control with...
9
by: Phin | last post by:
Hi, I have spent some time trying to get the tabstrip and multipage to work (from the IE web controls). I read the article from:...
0
by: Jeremy Chapman | last post by:
I have included below virtually all the code to a control I'm trying to build. My issue is that an array list property in my control does not get persisted properly to the aspx page code in design...
2
by: aaron | last post by:
Hi All, I have a custom web control which works perfectly. Its just a tabcontrol to spit out navigation tabs, it inherits from System.Web.UI.WebControls.WebControl In web page design view,...
17
by: Kbalz | last post by:
I'm developing a Wizard type program, and I'm flipping between steps by using a TabControl.. buttons on each tabPage move to the next or previous tabPage. When I press CTRL+Tab however, the...
3
by: WerdanNJ | last post by:
Can one use the tab control for one to one related tables? Can I also show/hide a tab page based on a value of a field? ie. Men Only \ Women Only tabs based on the field Sex. And is it me or by...
8
by: Bhujanga | last post by:
I have a form with a tab control on it that has about 5 tabs.When one of the tabs is selected, I want to set the "Visible" property from "No" to "Yes" on a subform that resides on the main form, but...
4
by: flaf | last post by:
Within a form I have added tabs. I noticed that when I make a change in the design view on one of the tab pages the changes do not take effect when I run the program. I thought perhaps there was...
0
by: nzkks | last post by:
Hi, I am using these: ASP.Net 2.0, VB.Net, Visual Studio 2005, SQL Server 2005 In a asp.net page, I have two multiview controls each has 2 views & its corresponding 2 menu items named Metric &...
0
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.