Recent

Author Topic: Possible bug on TDBEdit alignement property  (Read 577 times)

BSaidus

  • Hero Member
  • *****
  • Posts: 616
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Possible bug on TDBEdit alignement property
« on: January 24, 2024, 10:52:13 pm »
Hello  :) .
Trying to force alignement property of a TDBEdit to taCenter, but when the program executes & DB connection established, the taLeftJustify is set and no way to restore to my wanted taCenter.
  the text in the DBEdit field is leftjustified.

I use lazarus 3 relaease with FPC 3.2.3 on Windows 7.

Thanks.

PS: after some test, I constat that the text alignement on the DBEdit is linked to the DB field.
 
Code: Pascal  [Select][+][-]
  1.    SQLQuery1.FieldByName('ip1').Alignment := taCenter;
  2.  
« Last Edit: January 24, 2024, 11:28:40 pm by BSaidus »
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

 

TinyPortal © 2005-2018