I want to set the alignment of a couple of TDBEdit to be right aligned.
I have tried:
Setting at design time in the Object inspector, doesn't work!
Adding
DBEdit1.Alignment := taRightJustify;
in the FormCreate, didn't work, and FormActivate procedures. In the FormActivate, it worked for the first item displayed but as soon as the next item was selected by the DBNAV it reverts to left justify.
Documentation indicates that the property is available and that it takes its defaults from the Tfield.
Where and how do I set this so that it is right justified?
Using:
Lazarus 3.4 (rev lazarus_3_4) FPC 3.2.2 x86_64-win64-win32/win64
with my DB in Sqlite3. 3.27.2.0