RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.ChangeGridOrientation Method

Prepares the grid's canvas for painting to reflect a right-to-left or left-to-right orientation.

Pascal
procedure ChangeGridOrientation(RightToLeftOrientation: Boolean);
C++
__fastcall ChangeGridOrientation(Boolean RightToLeftOrientation);

TCustomGrid uses ChangeGridOrientation internally when painting. ChangeGridOrientation sets the origin and dimensions of the grid's canvas so that painting occurs from right-to-left or from left-to-right based on the value of the RightToLeftOrientation parameter. 

RightToLeftOrientation is true if the grid should prepare for painting from right to left. RightToLeftOrientation is false if the grid should restore the canvas to normal. 

 

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