Click on the Tbutton, then navigate to the properties tab of the object inspector window. Scroll to the bottom and change the Wordwrap option to true, then resize your tbutton appropriately.
The only way I can think of, is to use a BitBtn and then sets its caption in code. i.e
BitBtn1.Caption := 'Hello' + #13 + 'World';
Then the caption would display 'Hello World' over two lines in the bitbtn. Of course, doing it this way means you would need to line everything up yourself... Arte Et Labore
By default, tButton doesn't surface a WordWrap property, though it certain contains underlying support for one. You can create a tWrapButton descendant that surfaces this within a few minutes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.