mirror of
https://github.com/FellippeHeitor/InForm.git
synced 2024-09-18 19:54:44 +00:00
Updated Mouse events (markdown)
parent
8fb1d2b621
commit
72c557415f
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@ Click events are triggered when a control is active, visible and the user presse
|
|||
#MouseDown/MouseUp
|
||||
The MouseDown event occurs when the left mouse button is first pressed on a control. The MouseUp event is triggered when the left mouse button is released on a control. Right after a MouseUp event is fired, a Click event is also triggered.
|
||||
|
||||
#MouseEnter/MouseLeave
|
||||
The MouseEnter event occurs when the mouse pointer enters a control's rectangle area. The MouseLeave event is triggered when the cursor leaves the rectangle area of a control.
|
||||
|
||||
By adding code to these two events, you can, for example, emulate a hovering effect (change a control's background color when MouseEnter is triggered and restoring it when MouseLeave is run).
|
||||
|
||||
##Controls that respond to mouse events:
|
||||
* [[Button]]
|
||||
* [[Label]]
|
||||
|
|
Loading…
Reference in a new issue