From 0a2178bcde1832588f40ab800ee5fb283a07f971 Mon Sep 17 00:00:00 2001 From: FellippeHeitor Date: Tue, 14 Mar 2017 23:36:08 -0300 Subject: [PATCH] Updated Mouse events (markdown) --- Mouse-events.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Mouse-events.md b/Mouse-events.md index f7e59ae..e52407d 100644 --- a/Mouse-events.md +++ b/Mouse-events.md @@ -1,15 +1,15 @@ -#Click +# Click Click events are triggered when a control is active, visible and the user presses the left mouse button while hovering a control and releases the button while still hovering the same control. -#MouseDown/MouseUp +# 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 +# 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: +## Controls that respond to mouse events: * [[Button]] * [[Label]] * [[Textbox]]