RAD Studio VCL Reference
|
Indicates whether a data-aware control's alignment is reversed to a right-to-left mode.
function DBUseRightToLeftAlignment(AControl: TControl; AField: TField): Boolean;
Boolean DBUseRightToLeftAlignment(TControl * AControl, TField AField);
DBCtrls
Call DBUseRightToLeftAlignment to determine whether a control's alignment has been reversed to a right-to-left mode. This information can be used when painting the control or when responding to mouse events.
DBUseRightToLeftAlignment returns true for middle east locales if the BiDiMode property is bdRightToLeft. Otherwise, it returns false.
AControl is the data-aware control to check.
AField is the field associated with the control specified in AControl. The AField parameter is necessary so that DBUseRightToLeftAlignment can be used with controls such as TDBLookupComboBox, which uses the list field and not the target field for determining alignment.
TControl
TControl
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|