multiline checkbox

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Is there any way to get checkbox in .NET CF which has more than one
line of text?

I've tried inserting "\r\n" where I want the new line to start, which
shows up fine in the Designer, but the second line is blank when the
code runs on the emulator or the device.

Thanks,
Mike
 
sadly, no. you can create a custom control to exhibit this behavior
or, just position a label below the text of the checkbox (or radiobutton)
and set the text of both at runtime.

--
Darren Shaffer
..NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
 
The label below the text box works OK, but when the checkbox is the
selected control, only the top line is highlighted. Instead, I'm going
to use a checkbox with no text, and place a multiline label next to it.
In this case, only the checkbox itself is highlighted, but that looks
better to me.

Thanks for the lead.

-Mike
 
Back
Top