[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Flips coordinates for the specified cell rectangle when BiDiMode or RTL alignment is used.
Source position: grids.pas line 1320
protected function TCustomGrid.FlipRect( |
ARect: TRect |
):TRect; |
ARect |
|
Control display area examined and potentially updated in the method. |
TRect instance with the updated display area for the control.
FlipRect causes the control display area in ARect to be aligned to the opposite horizontal edge of the parent control when UseRightToLeftAlignment is enabled. Values in the Left and Right members in ARect are modified to reflect the new position / alignment.
FlipRect calls the BidiFlipRect routine to reposition the control on the parent rectangle.
The return value is a TRect instance with modified Left and Right coordinates for the repositioned control.
No actions are performed in the method when UseRightToLeftAlignment is set to False, and the return value is set to ARect.
|
Flips the left and right coordinates in a rectangle and makes it relative to the ParentRect when Flip is True. |
Version 4.0 | Generated 2025-05-03 | Home |