RAD Studio VCL Reference
|
Indicates whether the alignment of a specified field should be changed from left-aligned to right-aligned.
function UseRightToLeftAlignmentForField(const AField: TField; Alignment: TAlignment): Boolean;
__fastcall Boolean UseRightToLeftAlignmentForField(const TField AField, TAlignment Alignment);
UseRightToLeftAlignmentForField is called internally when drawing field values to determine whether the Alignment of AField should be changed from left-aligned to right-aligned. This method lets the data-aware grid honor the current setting of the BiDiMode property. UseRightToLeftAlignment returns true if the application is running in a mideast locale (where alignment should be reversed), the field contains text (as opposed to numeric or date/time values), and the specified alignment is not taCenter.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|