468,121 Members | 1,570 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,121 developers. It's quick & easy.

Associate a Control - StatusBar

144 100+

how to, for some controls in a form, when a user bring her mouse on the control, the message in ToolStripStatusLabel changes to something like telling the function of the control.

should i use the event MouseHover/MouseEnter and MouseLeave for each control to set the Text of ToolStripStatusLabel dynamically. i'm not sure since we can just set the ContextMenu property of a control to associate the control to a contextMenuStrip object.

Oct 5 '08 #1
3 789
583 512MB
I would use the mouse hover event for whenever the mouse is over the control, and the mouse leave event when the cursor/mouse leaves the control and could you clarify your question about the contextmenustrip property, I am not getting what you are trying to ask or say about it.

Oct 5 '08 #2
3,525 Expert 2GB
Take at look at the ToolTip component. This doesn't change text in the status bar, it provides a box or bubble to pop up at the cursor just above the control you are hovering over.

Either google or Visual Studio's built-in help should get you going. Just look for "ToolTip"
Oct 6 '08 #3
144 100+

thanks for the reply, i'll try it.
(sorry for the bad problem description, english is not my native language)
Oct 6 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Job Lot | last post: by
1 post views Thread by Michele Locati | last post: by
18 posts views Thread by Andrew Poulos | last post: by
9 posts views Thread by Kristoffer Arfvidson | last post: by
7 posts views Thread by Webbee | last post: by
1 post views Thread by Fir5tSight | last post: by
3 posts views Thread by Steve | last post: by
18 posts views Thread by didacticone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.