Connecting Tech Pros Worldwide Help | Site Map

Number of tab controls

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 05:20 AM
Tony Williams
Guest
 
Posts: n/a
Default Number of tab controls

I have a form with a number of tab controls. The tab controls are part of 3
sub forms that are based on different tables.Is it possible to stack the
tabcontrols as say 3 rows of 5 rather than 1 row of 15. With 1 row of 15 the
form is either too long for the form or all the tabs are not shown and the
user has to click on arrows to view the unseen tabs.
TIA
Tony Williams



  #2  
Old November 13th, 2005, 05:20 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default Re: Number of tab controls

Tony Williams wrote:[color=blue]
> I have a form with a number of tab controls. The tab controls are part of 3
> sub forms that are based on different tables.Is it possible to stack the
> tabcontrols as say 3 rows of 5 rather than 1 row of 15. With 1 row of 15 the
> form is either too long for the form or all the tabs are not shown and the
> user has to click on arrows to view the unseen tabs.[/color]

The MultiRow property of the tabcontrol does this.

Consider, however, that tabcontrols with multiple rows cause slight
confusion with users. An alternative solution is to offer all tab
choices in a listbox to the left, and display the correct pane upon
click in the listbox.

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
  #3  
Old November 13th, 2005, 05:21 AM
cqdigital@volcanomail.com
Guest
 
Posts: n/a
Default Re: Number of tab controls


When you say that tab controls cause confusion, do you mean that the
confusion is caused by the fact that the active tab control always
moves it's row to the front row? I can't understand why MS has
designed their tab controls to behave like this. Perhaps someone else
can shed some light.

  #4  
Old November 13th, 2005, 05:21 AM
cqdigital@volcanomail.com
Guest
 
Posts: n/a
Default Re: Number of tab controls

When you say that tab controls cause confusion, do you mean that the
confusion is caused by the fact that the active tab control always
moves it's row to the front row? I can't understand why MS has
designed their tab controls to behave like this. Perhaps someone else
can shed some light.

  #5  
Old November 13th, 2005, 05:21 AM
cqdigital@volcanomail.com
Guest
 
Posts: n/a
Default Re: Number of tab controls

When you say that tab controls cause confusion, do you mean that the
confusion is caused by the fact that the active tab control always
moves it's row to the front row? I can't understand why MS has
designed their tab controls to behave like this. Perhaps someone else
can shed some light.

  #6  
Old November 13th, 2005, 05:21 AM
Rick Brandt
Guest
 
Posts: n/a
Default Re: Number of tab controls

<cqdigital@volcanomail.com> wrote in message
news:1103053698.641090.155250@z14g2000cwz.googlegr oups.com...[color=blue]
> When you say that tab controls cause confusion, do you mean that the
> confusion is caused by the fact that the active tab control always
> moves it's row to the front row? I can't understand why MS has
> designed their tab controls to behave like this. Perhaps someone else
> can shed some light.[/color]

You can use Button format to void that.


--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com


  #7  
Old November 13th, 2005, 05:21 AM
cqdigital@volcanomail.com
Guest
 
Posts: n/a
Default Re: Number of tab controls


When you say that tab controls cause confusion, is this because the
active tab always moves to the front row? Why MS has designed their
tab controls to behave in this manner is beyond me.

  #8  
Old November 13th, 2005, 05:21 AM
cqdigital@volcanomail.com
Guest
 
Posts: n/a
Default Re: Number of tab controls

When you say that tab controls cause confusion, do you mean that the
confusion is caused by the fact that the active tab control always
moves it's row to the front row? I can't understand why MS has
designed their tab controls to behave like this. Perhaps someone else
can shed some light.

  #9  
Old November 13th, 2005, 05:22 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default Re: Number of tab controls

Rick Brandt wrote:[color=blue]
> <cqdigital@volcanomail.com> wrote in message
> news:1103053698.641090.155250@z14g2000cwz.googlegr oups.com...
>[color=green]
>>When you say that tab controls cause confusion, do you mean that the
>>confusion is caused by the fact that the active tab control always
>>moves it's row to the front row? I can't understand why MS has
>>designed their tab controls to behave like this. Perhaps someone else
>>can shed some light.[/color]
>
> You can use Button format to void that.[/color]

Very good Rick! I didn't know that property.

Tony, it is hard to provide accurate visual feedback with a tabcontrol.
The user has the right to know which tab is active, by looking at the
navigation panel. I think you can agree with that.
With tabs, the indication 'active' is done by linking the tab to the
panel. That is close to impossible if the active tab lives on anything
but the first row. Microsoft is certainly not the creator of moving tab
lines...

The button approach solves this in one single step. I like it.
--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
  #10  
Old November 13th, 2005, 05:22 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default Re: Number of tab controls

cqdigital@volcanomail.com wrote:[color=blue]
> When you say that tab controls cause confusion, do you mean that the
> confusion is caused by the fact that the active tab control always
> moves it's row to the front row? I can't understand why MS has
> designed their tab controls to behave like this. Perhaps someone else
> can shed some light.
>[/color]
Don't worry--the message is posted. :-)

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
  #11  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default Re: Number of tab controls

Thanks Bas, that sounds an interesting concept. I'm a newbie so could you
explain a little more how I'd achieve that? How can you open panes from a
list box?
Thanks
Tony
"Bas Cost Budde" <b.costbudde@heuvelqop.nl> wrote in message
news:cpmlej$7am$1@news2.solcon.nl...[color=blue]
> Tony Williams wrote:[color=green]
> > I have a form with a number of tab controls. The tab controls are part[/color][/color]
of 3[color=blue][color=green]
> > sub forms that are based on different tables.Is it possible to stack the
> > tabcontrols as say 3 rows of 5 rather than 1 row of 15. With 1 row of 15[/color][/color]
the[color=blue][color=green]
> > form is either too long for the form or all the tabs are not shown and[/color][/color]
the[color=blue][color=green]
> > user has to click on arrows to view the unseen tabs.[/color]
>
> The MultiRow property of the tabcontrol does this.
>
> Consider, however, that tabcontrols with multiple rows cause slight
> confusion with users. An alternative solution is to offer all tab
> choices in a listbox to the left, and display the correct pane upon
> click in the listbox.
>
> --
> Bas Cost Budde, Holland
> http://www.heuveltop.nl/BasCB/msac_index.html
> I prefer human mail above automated so in my address
> replace the queue with a tea[/color]


  #12  
Old November 13th, 2005, 05:22 AM
Tony Williams
Guest
 
Posts: n/a
Default Re: Number of tab controls

Thanks Bas I think that's the way I'll go
Tony
"Bas Cost Budde" <b.costbudde@heuvelqop.nl> wrote in message
news:cpose1$dhn$1@news2.solcon.nl...[color=blue]
> Rick Brandt wrote:[color=green]
> > <cqdigital@volcanomail.com> wrote in message
> > news:1103053698.641090.155250@z14g2000cwz.googlegr oups.com...
> >[color=darkred]
> >>When you say that tab controls cause confusion, do you mean that the
> >>confusion is caused by the fact that the active tab control always
> >>moves it's row to the front row? I can't understand why MS has
> >>designed their tab controls to behave like this. Perhaps someone else
> >>can shed some light.[/color]
> >
> > You can use Button format to void that.[/color]
>
> Very good Rick! I didn't know that property.
>
> Tony, it is hard to provide accurate visual feedback with a tabcontrol.
> The user has the right to know which tab is active, by looking at the
> navigation panel. I think you can agree with that.
> With tabs, the indication 'active' is done by linking the tab to the
> panel. That is close to impossible if the active tab lives on anything
> but the first row. Microsoft is certainly not the creator of moving tab
> lines...
>
> The button approach solves this in one single step. I like it.
> --
> Bas Cost Budde, Holland
> http://www.heuveltop.nl/BasCB/msac_index.html
> I prefer human mail above automated so in my address
> replace the queue with a tea[/color]


  #13  
Old November 13th, 2005, 05:22 AM
Bas Cost Budde
Guest
 
Posts: n/a
Default Re: Number of tab controls

Tony Williams wrote:[color=blue]
> Thanks Bas, that sounds an interesting concept. I'm a newbie so could you
> explain a little more how I'd achieve that? How can you open panes from a
> list box?[/color]

Set the RowSourceType of the listbox to Value list. Type the names of
the tabs as you want them to display, in the order of the tab pages. Set
the tabs on the tabcontrol invisible (Style property).
In the Click event for the listbox, assign the listindex (counting from
0) to the Value of the tabcontrol. Add one if it doesn't match, I can't
find that now.

sub yourListbox_Click()
tabcontrol.value = yourlistbox.listindex
end sub

--
Bas Cost Budde, Holland
http://www.heuveltop.nl/BasCB/msac_index.html
I prefer human mail above automated so in my address
replace the queue with a tea
  #14  
Old November 13th, 2005, 05:22 AM
Rick Brandt
Guest
 
Posts: n/a
Default Re: Number of tab controls

"Bas Cost Budde" <b.costbudde@heuvelqop.nl> wrote in message
news:cppadt$el9$1@news2.solcon.nl...[color=blue]
> Tony Williams wrote:[color=green]
> > Thanks Bas, that sounds an interesting concept. I'm a newbie so could[/color][/color]
you[color=blue][color=green]
> > explain a little more how I'd achieve that? How can you open panes from[/color][/color]
a[color=blue][color=green]
> > list box?[/color]
>
> Set the RowSourceType of the listbox to Value list. Type the names of
> the tabs as you want them to display, in the order of the tab pages. Set
> the tabs on the tabcontrol invisible (Style property).
> In the Click event for the listbox, assign the listindex (counting from
> 0) to the Value of the tabcontrol. Add one if it doesn't match, I can't
> find that now.
>
> sub yourListbox_Click()
> tabcontrol.value = yourlistbox.listindex
> end sub[/color]

I actually have one app where I place a drop-down list in the main menubar
that changes the TabPage of the main menu and then use "None" as the
TabStyle for the TabControl.

--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com



 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.