TDBEdit alignment lazarus / 7-LCL ---------------------------------------------------------------------- Edwin · 2005-08-02 23:03 Hello again, How can I set the alignment of a TDBEdit to taRightJustify? Even when the (Data)field of the DBEdit is set to taRightJustify the alignment is left. Thanks, Edwin ---------------------------------------------------------------------- Anonymous · 2005-08-29 19:56 The alignment of a TDBGrid column is automatically set by the alignment of its Datafield. Is it possible to implement this same behaviour in TDBEdit? ---------------------------------------------------------------------- cysco · 2010-07-22 03:36 There is solution for this bug http://bugs.freepascal.org/view.php?id=14328 Or you can simply change the alignment manually Code: [Select]TDBEdit.Alignment = taRightJustify Happy coding ---------------------------------------------------------------------- jma_sp · 2015-05-25 08:03 In Lazarus 1.4 it works for both dbedit and edit: TDBEdit.Alignment = taLefttJustify; TDBEdit.Alignment = tacenter; TDBEdit.Alignment = taRightJustify; It would be great if it could be present in object inspector for dbedit as property, same as edit.