Board index » delphi » Wrapping the caption of a toolbutton

Wrapping the caption of a toolbutton

Hi,
  Is there any ways I can wrap the caption of a toolbutton? I tried resizing
the button's width & height but it just won't let me. Thanks.
___________
cLiffordiL
 

Re:Wrapping the caption of a toolbutton


Quote
In article <3b3a96f3_2@dnews>, CLiffordiL wrote:
>   Is there any ways I can wrap the caption of a toolbutton?

I think you have to turn to drawing the buttons caption yourself if you want
that. See the OnAdvancedCustomDrawButton event of the toolbar. The API
function DrawText can be used to draw multiline text.

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: I'm unable to visit the newsgroups every day at the moment,
so be patient if you don't get a reply immediately.

Other Threads