Changing object color when mouse touches (1 Viewer)

latex88

Registered User.
Local time
Today, 11:02
Joined
Jul 10, 2003
Messages
198
Sorry, super VB noob here...

How do I create procedure so that when the mouse touches an object, such as a label or textbox, the object changes color? I want to be able to use this code for many objects in the form.

Apparently, I can't do something like

me.ActiveControl.BackColor = Color.Red

I get the "NullReferenceException was unhandled" error.
 

Users who are viewing this thread

Top Bottom