Click to See Complete Forum and Search --> : GroupBox problem
sternaphile
July 18th, 2002, 02:55 PM
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?
jparsons
July 19th, 2002, 09:45 AM
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?
sternaphile
July 19th, 2002, 11:02 AM
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.
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.