Groups of Buttons

  • Thread starter Thread starter BJ
  • Start date Start date
B

BJ

Hi,

I would like to display different group of buttons at different time
depending on the users.

So if the user click on Button1 then a group of Buttons related for that
group will appear on a certain location on the form. If the user click on
Button2 then another group will appear and group for Button 1 would
disappear. Is there a good way to do this?
 
A couple of ways come into mind after reading your description:

- Use a tab control. This way the user can click on a tab and the
corresponding controls for that tab will automatically show up and hide.
You can even change the tabs to look like buttons (change Appearance
property to Buttons). I would recommend you do this method

- Use a Panel and programmatically control which Panel is displayed/hidden
depending on which button is pressed.

Eric
 
Thanks. Panel sounds good. This application I am writing will be for touch
screen and the buttons will be dynamically created.
 
Back
Top