473,382 Members | 1,464 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Groups of Buttons

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?
Nov 16 '05 #1
2 2287
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?

Nov 16 '05 #2
BJ
Thanks. Panel sounds good. This application I am writing will be for touch
screen and the buttons will be dynamically created.
"Eric Cherng" <ericch1@remove_the_dot-hotmai.l.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
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?


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jeff | last post by:
I'm trying to create a dynamic form that can have multiple groups of radio buttons (each group has two buttons) with the same name. Essentially, the form allows a user to enter as many names as...
20
by: PC Datasheet | last post by:
How can the label for a checkbox and the labels for the options in an option group be addressed? When a checkbox gets the focus, Access draws a dotted box around the label. When an option group...
2
by: None | last post by:
Hi, I have one Listbox and Two buttons one is Add and Other is Remove. When i click the add button i want to show the Select Users or Groups Form(i.e, When you right click any file or folder and...
3
by: MDB | last post by:
This may sound like a naive question, but that's only because I'm naive about most things ASP.NET, as my background is primarily Lotus Notes Development, and before that, DOS-based FoxPro. Is...
3
by: Amelyan | last post by:
When we want radio button to belong to a group name we say, radio1.GroupName="GroupA". In this case, radio1 will be unselected if another radio button is selected in "GroupA". Is there a way...
3
by: rsteph | last post by:
I've got a very basic database that is tied to a website. Part of the database tracks information about training classes. Some of the training classes have flyers that go along with them in a .pdf...
2
by: forbes | last post by:
Hi, I have a form that contains multiple groups of checkboxes that act like radio buttons (at the clients insistance). There is one text field that is required and 28 checkbox groups. Here an...
2
by: rote | last post by:
My sceanrio is this on an asp.net 2.0 freamework. I want to use any of the data controls e.g Gridview,DetailView etc.. But i want some buttons e.g update,edit save etc to be enable or disabled...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.