List Info

Thread: Checklistbox display member,value memnber




Checklistbox display member,value memnber
user name
2006-12-08 18:00:14
A CheckListBox doesn't really work like a ListBox. You'll
probably need a separate collection/array containin your
'values' corresponding to the display-items in the
CheckedListBox and then use each element that control's
CheckedIndices collection as an index into your
collection/array.
--
// Lee Silver
// Information Concepts Inc.


-----Original Message-----
From: Stacey Levine [mailto:staceylMUSICFORASONG.COM]
Sent: Saturday, December 9, 2006 01:41 AM
To: DOTNET-WINFORMSDISCUSS.DEVELOP.COM
Subject: [DOTNET-WINFORMS] Checklistbox display member,value
memnber

I have a checked listbox and need to have the value
different from the
display.


http://msdn2.micr
osoft.com/en-us/library/system.windows.forms.checkedlistbox.
displaymember.aspx


According to the link above, I should be able to access
displaymember
and value member just like with listbox and such, but it
does not seem
to come up in intellisense. Am I missing something? Is there
a different
when to do this with a CheckedListBox?







Stacey Levine
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )