Board index » delphi » Can I "Word wrap" the caption of a bit button?

Can I "Word wrap" the caption of a bit button?

Hi,
I have a couple of bit buttons with long captions...
can I word wrap them into 2 lines?
If so how?
Thank you
Phil
cr...@craftmark.com

 

Re:Can I "Word wrap" the caption of a bit button?


Windows 95

Create your own button and override the createparams method.
Add BS_MULTILINE to the buttons style. See CreateWindow and
CreateWindowEx in the API help file for other options

Kind Regards
Claire, c...@HallworthHome.demon.co.uk

Other Threads