Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - Groupbox inside Tab control not keeping state
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Groupbox inside Tab control not keeping state

 Post Reply Post Reply
Author
Message
dexatron View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2010
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote dexatron Quote  Post ReplyReply Direct Link To This Post Topic: Groupbox inside Tab control not keeping state
    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.
Back to Top
jpbro View Drop Down
Senior Member
Senior Member
Avatar

Joined: 12 January 2007
Status: Offline
Points: 1355
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpbro Quote  Post ReplyReply Direct Link To This Post Posted: 21 January 2011 at 4:50pm
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

Back to Top
dexatron View Drop Down
Newbie
Newbie
Avatar

Joined: 27 January 2010
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote dexatron Quote  Post ReplyReply Direct Link To This Post Posted: 25 January 2011 at 5:49pm
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
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.