> I have button text which I would like to have displayed on several lines,
> with the line break occuring in a specific place. How can this be done?
You need a linefeed (character decimal 10) in the button text which is easy
enough in code. If the ide is making life difficult for you, try button text
"xxx~yyy", and then in the load event, replace "~" with a linefeed.
Ian Lazarus - 29 Dec 2005 20:28 GMT
I'm using Microsoft Visual C++.NET.
Besides "xxx\nyyy", I tried octal, "xxx\012yyy" and hexadecimal,
"xxx\x0Ayyy", but nothing worked. I can't believe there isn't a simple way
to do this.
AMercer - 31 Dec 2005 16:17 GMT
> I can't believe there isn't a simple way to do this.
There is a simple way - do it in the load event of your form, thereby
overcoming the shortcoming in the IDE. I know it isn't elegant, but my
experience is that such things are necessary in nontrivial forms and controls.