D
Daan
We use resource files in which we store all texts that are used for
labels, buttons, etc. Now when I add this text to a OpenNETCF ButtonEx
control but the string is too wide for the button, I want to 'wrap' the
text. Since this is not directly possible, I figured to add a \r\n where
I want the text to wrap. However, adding \r\n to the string in the
resource file results in the characters just being printed on the
button, not interpreted as a line break.
If I set the text directly, not using the resource file, everything goes
as desired, i.e. the newline is inserted at the right place.
Can anyone explain this behavior and suggest a solution? Thanks,
labels, buttons, etc. Now when I add this text to a OpenNETCF ButtonEx
control but the string is too wide for the button, I want to 'wrap' the
text. Since this is not directly possible, I figured to add a \r\n where
I want the text to wrap. However, adding \r\n to the string in the
resource file results in the characters just being printed on the
button, not interpreted as a line break.
If I set the text directly, not using the resource file, everything goes
as desired, i.e. the newline is inserted at the right place.
Can anyone explain this behavior and suggest a solution? Thanks,