Thema: Delphi TButton align to left

Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#3

Re: TButton align to left

  Alt 17. Jan 2007, 16:12
Maybe TSpeedButton or TBitButton have a text-align property...

If you have to draw the text yourself (e.g. following MrKnogge's suggestion), you might want to draw the text yourself: MSDN-Library durchsuchenDrawText.

On the other Hand, you should be able to tell the WinAPI to align the text... but I don't know how.
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat