RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomOutline.MouseDown Method

Updates the SelectedItem property.

Pascal
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer); override;
C++
virtual __fastcall MouseDown(TMouseButton Button, TShiftState Shift, int X, int Y);

After calling the inherited method to generate an OnMouseDown event and locate the line under the mouse, MouseDown sets the SelectedItem property to the node in the line under the mouse. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!