RAD Studio
ContentsIndex
PreviousUpNext
Additional Methods

There are several other methods useful for developing applications for bi-directional users.  

VCL methods that support BiDi  

Method 
Description 
OkToChangeFieldAlignment  
Used with database controls. Checks to see if the alignment of a control can be changed.  
DBUseRightToLeftAlignment  
A wrapper for database controls for checking alignment.  
ChangeBiDiModeAlignment  
Changes the alignment parameter passed to it. No check is done for BiDiMode setting, it just converts left alignment into right alignment and vice versa, leaving center-aligned controls alone.  
IsRightToLeft  
Returns True if any of the right to left options are selected. If it returns False the control is in left to right mode.  
UseRightToLeftReading  
Returns True if the control is using right to left reading.  
UseRightToLeftAlignment  
Returns True if the control is using right to left alignment. It can be overridden for customization.  
UseRightToLeftScrollBar  
Returns True if the control is using a left scroll bar.  
DrawTextBiDiModeFlags  
Returns the correct draw text flags for the BiDiMode of the control.  
DrawTextBiDiModeFlagsReadingOnly  
Returns the correct draw text flags for the BiDiMode of the control, limiting the flag to its reading order.  
AddBiDiModeExStyle  
Adds the appropriate ExStyle flags to the control that is being created.  
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!