JVCL Help:TJvSlider.MouseDown

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Responds when the user clicks the slider with the mouse.


Pascal

 procedureMouseDown(Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer); override;


Parameters

Parameters Description
Button: TMouseButton Determines which mouse button the user pressed.
Shift: TShiftState Indicates which keys (Shift, Ctrl, and Alt) were down when the user pressed the mouse button.
X: Integer Indicates the new x-coordinate of the mouse pointer.
Y: Integer Indicates the new y-coordinate of the mouse pointer.


Description

Do not call MouseDown. It is called automatically when the user clicks the sizable panel with the mouse. As implemented in TJvSlider, MouseDown renders the "down" image specified by ImageThumb on the thumb, and triggers the OnBeginChange event.


See Also

TJvSlider.ImageThumb, TJvSlider.MouseMove, TJvSlider.MouseUp, TJvSlider.OnBeginChange, TJvSlider.Paint


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page