Unit 'Controls' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TControl.WMRButtonDown

Handles a LM_RBUTTONDOWN (right mouse button down) message for the control.

Declaration

Source position: controls.pp line 1349

protected procedure TControl.WMRButtonDown(

  var Message: TLMRButtonDown

); message;

Arguments

Message

  

Message handled in the method.

Description

Sets MouseCapture to True when enabled in the ControlStyle property and the right mouse button is included in CaptureMouseButtons.

Calls the DoMouseDown method to perform the mouse button event for the control, and to signal its OnMouseDown event handler (when assigned). No mouse down actions are performed when standard events are ignored by including csNoStdEvents in the ControlStyle property.

See also

TControl.ControlStyle

  

Contains style flags which control the features or behaviors enabled for the control.

TControl.MouseCapture

  

True when mouse messages are currently captured by this control.

TControl.CaptureMouseButtons

  

Indicates the mouse button(s) which are captured for the control.

TControl.MouseDown

  

Handles a mouse down event for the control.

TControl.DoMouseDown

  

Performs actions needed to handle a mouse down event for the control.

TControl.OnMouseDown

  

Event handler signalled when a mouse down event is handled for the control.

TMouseButton

  

Enumeration of recognized mouse buttons.



CT Web help

CodeTyphon Studio