RightToLeftproperty
Used to support languages that read from right to left, such as Arabic or Hebrew.
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.
Syntax
PROPERTY RightToLeft () AS BOOLEAN
PROPERTY RightToLeft (BYVAL bRightToLeft AS VARIANT_BOOL)
Parameters
| Name | Description | |
|---|---|---|
bRightToLeft | True to set the attribute; False, othewise |
Description
Returns or sets the rigth to left attribute of the default font.
Remarks
This property is used to support bidirectional (BiDi) systems, such as those used for Arabic or Hebrew languages. It primarily adjusts the visual layout and text flow of the control to match these languages.
Setting this property to True modifies the control's behavior. Typical changes include:
- Placing vertical scroll bars on the left side of the grid.
- Aligning text and headers to begin from the right.
For simply right-justifying text in a standard English layout, developers should use the ColAlignment or CellAlignment properties (e.g., flexAlignRightCenter) rather than the RightToLeft property.
Reference
- Documented in Windows/Windows GUI/MSHFlexGrid Class.md
- Topic: Microsoft Hierarchical Grid