RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TListItem.GetPosition Method

Returns the position of the list item as a point.

Pascal
function GetPosition: TPoint;
C++
__fastcall TPoint GetPosition();

Call GetPosition to obtain the upper left coordinate of the list item. GetPosition returns a point with the x coordinate set to the value of Left and the y coordinate set to the value of Top

 

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