TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Memento
NA
111
133.3k
c# winforms - ToolStripButtons working like a menu
May 31 2012 2:29 AM
c# winforms
I have twelve buttons on a ToolStrip, and want if they could work like a menu.
For each button clickEvent, i wrote:
foreach (ToolStripItem c in ToolStrip1.Items)
{
c.ForeColor = Color.Gray;
}
Button1.ForeColor = Color.Crimson; //Button1 replace with Button2, Button3...
I suppose there is a shorter way.
Maybe if could change the CheckOnClick event - not to change BackColor but ForeColor, and change foreColor back to Gray - if some other button is clicked ?
Is there a way, please ?
Reply
Answers (
1
)
How to access data from array in windows application?
Can i change crystal report values on loading of report