Using Mouse Events To Make Glow Controls
Author: DevASP
Download Source Code : 425_MouseEffects.zip
In this article I will discuss the mouse events against any control. Because mouse events can make effect on your control which is impossible with controls property.
For the proper understanding follow the code property .Mouse has many events .i use some famous events which we usually use in our Professional applications.
Mouse enter event Activate when Mouse arrow Enter in the controls boundary. So that’s why I use it when I enter the arrow in the boundary of button its backcolor changes. And also make effect on textbox which shows it can effect on each control.
Mouse Leave event Activate when Mouse arrow Leave in the controls boundary. So that’s why I use it when I leave the boundary of button by arrow of mouse its back color changes. And also make effect on textbox.
Mouse Hover event Activate when Mouse arrow remain enter for some time in the controls boundary.So when I place mouse arrow remain in the boundary of button, buttons back color changes. And also make effect on textbox.
Mouse Down event Activate when Mouse right click pressed in the controls boundary. So when I Right clicked by mouse on the boundary of button, buttons back color changes. And also make effect on textbox.
In this article I explain the way in which we can use the mouse events against our vb controls.source code is given with that article.