RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TInplaceEdit.PosEqual Method

Indicates whether the edit window has the size and position indicated by Rect.

Pascal
function PosEqual(const Rect: TRect): Boolean;
C++
__fastcall Boolean PosEqual(const TRect Rect);

Use PosEqual to determine if the edit window occupies a particular rectangle, where Rect is given in global coordinates. PosEqual can be used to determine whether the inplace edit control represents a particular cell in the grid, by checking the bounding rectangle of the cell. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!