PC Review


Reply
Thread Tools Rate Thread

CheckedListBox.SelectionMode

 
 
=?Utf-8?B?Z2xhZGlhdG9y?=
Guest
Posts: n/a
 
      18th Jan 2005
Hello:
Who has used checkedListbox control in windows form? I feel puzzled
about the reference of it document.What means "SelectionMode.One" ? Does it
mean this control only support select one from many choice or select nothing?
As in my test project ,It seems that it supports multiple selection ? What
does SelectionMode.One mean?
Thanks in advance!!!




 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmFrb2IgQ2hyaXN0ZW5zZW4=?=
Guest
Posts: n/a
 
      18th Jan 2005
There is a difference between selected items and checked items for the
CheckedListBox control. A selected item is highlighted and a checked item
has its checkbox checked. The SelectionMode refers to selected items - not
check items. So if you use SelectionMode.One the user can only highlight one
item at a time but you can always check 0 to many items.

HTH, Jakob.


"gladiator" wrote:

> Hello:
> Who has used checkedListbox control in windows form? I feel puzzled
> about the reference of it document.What means "SelectionMode.One" ? Does it
> mean this control only support select one from many choice or select nothing?
> As in my test project ,It seems that it supports multiple selection ? What
> does SelectionMode.One mean?
> Thanks in advance!!!
>
>
>
>

 
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
SelectionMode in a DataGridView Dom Microsoft C# .NET 0 13th Feb 2008 04:48 PM
ListBox SelectionMode None ?? Q. John Chen Microsoft Dot NET Framework Forms 2 24th May 2007 08:14 PM
ListBox SelectionMode lgbjr Microsoft VB .NET 4 11th Oct 2005 09:35 AM
Can I have SelectionMode be None in a CheckedListBox? - getting errors. Sam Microsoft Dot NET Framework 0 6th May 2004 09:30 PM
ListBox SelectionMode Bug nospam@CrLf.com Microsoft Dot NET Framework 1 14th Apr 2004 07:23 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:13 PM.