PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
multiline checkbox
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
multiline checkbox
![]() |
multiline checkbox |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 "Mike" <seattlevine@yahoo.com> wrote in message news:1128379155.440053.313220@g49g2000cwa.googlegroups.com... > 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 > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
SDF includes the CheckBoxEx control that will wrap the long text.
http://www.opennetcf.org/sdf -- Alex Yakhnin, .NET CF MVP www.intelliprog.com | www.opennetcf.org "Mike" wrote: > 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 > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
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 |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

