Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27353

VS 2010 [RESOLVED] MouseHover event for Multiple Controls?

$
0
0
Hi guys, my problem is this. I need to use the mouseHover event for many controls in my form (100+) to update a label's text when I hover the mouse over any of these controls. My question is, is there any way to create some sort of a "function" that can handle this, so that I don't have to create a sub that handles MyControl.MouseHover for each of my controls that I want to modify it's MouseHover event, but instead have something that works like functions do, and I just type the name of the Control there and The text I want to change the Label to.

If I wasn't clear in my question, tell me.

Viewing all articles
Browse latest Browse all 27353

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>