Recent

Author Topic: TDBEdit Alignment  (Read 2079 times)

bambamns

  • Full Member
  • ***
  • Posts: 223
TDBEdit Alignment
« on: November 03, 2012, 11:06:04 pm »
Hi,

I'd tried :

Code: [Select]
DBEdit.Alignment := taRightJustify;
 
TNumericField(DBQ.FieldByName('FIELD')).Alignment := taRightJustify;

(DBEdit.DataSource.DataSet.FieldByName(DBEdit.DataField) as TStringField).Alignment := taRightJustify;

 DBEdit.Field.Alignment := taRightJustify;

Nothing works on WinCE.

What is source class of TDBEdit (TCustomMaskEdit->TCustomEdit ....) to find it and try to change this kind of behavior on WinCE interface or, if it is possible , how to do it without changing the source file(s) ?

Thx
« Last Edit: November 03, 2012, 11:10:19 pm by bambamns »
Lazarus 1.8.4 + FPC 2.6.4 x86 (rebuild) and Lazarus 2.0, Windows 7 x64, unless otherwise specified