How to insert a line break into buttons caption?

tothszabolcstothszabolcs Member Posts: 21
Hi!

I would like to know, how can I insert a new line into Command buttons caption property?

I attached(cmdBtnProps.PNG) my button property window with caption. I tried those and no one works.

Thx!

Answers

  • ppavukppavuk Member Posts: 334
    Apparently this is not doable. I tried to play with CRLF for captions, and found it works, but on certain machines - not. As you can't use CaptionClass property for actions - you probably will not be able even to create text variable with CRLF inside, as i did. But again, solution isn't great, as it does not work under some conditions for uncertain reasons.

    i think if you ask MS - the answer to you question will be definitive NO.
  • tothszabolcstothszabolcs Member Posts: 21
    it seems to i have to keep short names and colored background...

    Thx for help!
  • FlowerBizFlowerBiz Member Posts: 34
    Not the most elegant solution but you could use a Bitmap to display the desired label of your button. Of course, where to store the bitmap creates a new headache.
  • ppavukppavuk Member Posts: 334
    Is there any way to use custom bitmaps for actions?
  • AndwianAndwian Member Posts: 627
    ppavuk wrote:
    Is there any way to use custom bitmaps for actions?
    I think no, for 2009 version.
    Regards,
    Andwian
Sign In or Register to comment.