Groupbox inside Tab control not keeping state |
Post Reply |
Author | |
dexatron
Newbie Joined: 27 January 2010 Status: Offline Points: 9 |
Post Options
Thanks(0)
Posted: 21 January 2011 at 11:24am |
Hi,
I added a group box on a tab control with several tabs.
In code I set groupbox.visible=false
When I click off and then back on that tab, the group box is now visible again.
It should stay invisible. It looks like controls inside the tab are losing their visible state on tab click.
|
|
jpbro
Senior Member Joined: 12 January 2007 Status: Offline Points: 1355 |
Post Options
Thanks(0)
|
Have you put TabControlPage controls on your tabs, and then put the GroupBoxes on those TabControlPage controls? Or are your GroupBoxes directly on the TabControl (no TabControlPages)?
|
|
Product: Xtreme SuitePro (ActiveX) version 16.2.6
Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 |
|
dexatron
Newbie Joined: 27 January 2010 Status: Offline Points: 9 |
Post Options
Thanks(0)
|
Hi jbpro,
The controls were placed directly on the tabs.
This is because when you use the Tab Control Page it hides the tab theme. (The color of the page over-rides the theme that the tab is using).
Thanks for the response
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |