Trick: Need a container?

  • Thread starter =?windows-1250?Q?Vladim=EDr_Cvajniga?=
  • Start date
?

=?windows-1250?Q?Vladim=EDr_Cvajniga?=

Use TabControl:
1) Remove all pages except 0.
2) TabControl.Style = 2 (None or Nothing)

Need many containers in one form but don't like A97...A2002 TabControl look?
Use TabControl:
1) Add as many pages you need.
2) TabControl.Style = 2 (None or Nothing).
3) Change control's value from code.

Need a "left-sided/right-sided" TabControl?
1) TabControl.Style = 2
2) Add OptionGroup control to the left or to the right of TabControl.
3) Choose OptionButtons in Wizard.
4) OptionGroup.BackStyle = 0
5) OptionGroup.BorderStyle = 0
6)
Private Sub OptionGroup_AfterUpdate()
TabControl.Value = OptionGroup.Value
End Sub

I haven't tested any of these but they're expected to perform OK. ;-)
 
?

=?windows-1250?Q?Vladim=EDr_Cvajniga?=

The only thing that doesn't work OK is that you can't move/resize TabControl
(same as OptionGroup). All other stuff is OK. And if you add a bit of code
it'll perform as a real container. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top