|
-
July 18th, 2002, 02:55 PM
#1
GroupBox problem
I have a tabControl windows form that uses a templated tree-view control. The template contins some buttons and a group box around three of these buttons. Only on one of my screens do I want to display the groupbox; on the rest I want it to be hidden. I use 'this.groupBox1.Hide()' and this works fine. The problem is in using 'this.groupBox1.Show()', which doesn't show the groupbox. What should I be doing?
"Judge a man by his questions rather than his answers." - Voltaire
-
July 19th, 2002, 09:45 AM
#2
Re: GroupBox problem
Originally posted by sternaphile
I have a tabControl windows form that uses a templated tree-view control. The template contins some buttons and a group box around three of these buttons. Only on one of my screens do I want to display the groupbox; on the rest I want it to be hidden. I use 'this.groupBox1.Hide()' and this works fine. The problem is in using 'this.groupBox1.Show()', which doesn't show the groupbox. What should I be doing?
Have you tried calling Show on each of the buttons individually to make sure that there aren't any other problems occuring?
Jared
-
July 19th, 2002, 11:02 AM
#3
Oops, please ignore my foolishness. I had added the GroupBox on the first tabbed screen, and didn't carry it over to the screen where I wanted it to be.
"Judge a man by his questions rather than his answers." - Voltaire
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|