Question : Alignment in Delphi TEdit and TStringGrid controls

Hopefully this is a very easy question, how can I set alignment for numbers in Tedit and TStringGrid Delphi components.

Thanks

far07

Answer : Alignment in Delphi TEdit and TStringGrid controls

The TAlignment values are taLeftJustify, taRightJustify, taCenter;

So you can just call TEdit2.SetAlignment(TaCenter);
Random Solutions  
 
programming4us programming4us