The HFlexGrid control has a configurable cell matrix with several associated behaviors that provide an appearance and functionality familiar to Middle East users.
When the RightToLeft property is set to True:
Grid columns begin at the right boundary of the grid. Columns and rows are numbered from zero, beginning at the right for columns and at the top for rows.
Fixed columns are located on the right side of the grid.
Cell values have RTL reading order.
ColAlignment property is set to 1-Right Aligned to right align data in each cell. Subsequently, cell data alignment can be adjusted programmatically at run time.
LeftCol identifies the rightmost visible column (the first column beyond the leftmost fixed column).
If the ScrollBars property is set to 3, a vertical scroll bar is placed on the left of the grid and a horizontal scroll bar with the scroll box on the right is placed at the bottom. A ScrollBars property setting of 1 places only the horizontal scroll bar, while a setting of 2 places only the vertical scroll bar.
Cells filled with the Clip property fill from right to left beginning at the upper rightmost selected cell.
When the RightToLeft property is set to False, the control behavior is the same as described in the standard HFlexGrid control documentation. ColAlignment property is set to 0-Left Aligned to left align data in each cell. Subsequently, cell data alignment can be adjusted programmatically at run time.
Developer's Tip
ColAlignment and Clip properties can be set only in run time. They are not available in design time.