PC Review


Reply
Thread Tools Rate Thread

multiline checkbox

 
 
Mike
Guest
Posts: n/a
 
      4th Oct 2005
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

 
Reply With Quote
 
 
 
 
Darren Shaffer
Guest
Posts: n/a
 
      4th Oct 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
Posts: n/a
 
      4th Oct 2005
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
>
>

 
Reply With Quote
 
Mike
Guest
Posts: n/a
 
      5th Oct 2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Checkbox Control - How to display a true or false value in the cellcontaining a checkbox Dave K Microsoft Excel Discussion 1 8th Sep 2010 09:31 PM
Coordinate status of checkbox on form to checkbox on multiple reco DanRoy Microsoft Access 0 4th Sep 2008 10:18 PM
Howto :: Multiline DataGridView :: More precisely a Multiline DataGridViewTextBoxColumn Gordian Microsoft Dot NET Framework Forms 0 13th Jul 2005 09:51 AM
Howto :: Multiline DataGridView :: More precisely a Multiline DataGridViewTextBoxColumn Gordian Microsoft Dot NET Framework Forms 0 13th Jul 2005 09:37 AM
Master-Detail Datagrid -checkbox (once tick the checkbox, all the child checkbox is ticked) Agnes Microsoft VB .NET 0 16th Aug 2004 12:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:22 PM.