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
"BJ" <ca******@hotmail.com> wrote in message
news:uG**************@TK2MSFTNGP11.phx.gbl...
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?