Re: CheckListBox



Unfortunately the CheckListBox doesn't have these properties.


"Taras" <Taras@xxxxxxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:F2972969-4FDA-492F-9C4B-D41D2D84294D@xxxxxxxxxxxxxxxx
> re: 1
> listbox.displaymember = "Name"
> listbox.valuemember = "ID"
> when selected, assign listbox.valuemember
>
>
>
> "John Hughes" wrote:
>
>> 2 questions :
>>
>> 1. am using the checked list box to display my list but I with to have 2
>> columns, ID
>> and Name. I want the ID to be hidden and used in the SelectedIndexChanged
>> method to populate another ListBox utilizing the ID. I cannot see how to
>> do
>> this with this
>> control?
>>
>> 2. Why when I call SetItemChecked does it not automatically call the
>> method
>> SelectedValueChanged? Do I need to call this method manually and if so
>> how?
>>
>> Thanks.
>>
>>
>>


.



Relevant Pages

  • Re: CheckListBox
    ... Even stranger is that when i search the web for this property there appears ... >>> method to populate another ListBox utilizing the ID. ... >>> control? ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Problem with hosted form within form
    ... After much trying with user control I ... The form itsself hosts a top panel with a label and text box, ... upon which the controls are dropped is marked as AutoScroll true. ... If I drop the form such that the entire CheckListBox does not show, ...
    (microsoft.public.dotnet.languages.vb)
  • Problem with hosting forms within forms
    ... After much trying with user control I ... The form itsself hosts a top panel with a label and text box, ... upon which the controls are dropped is marked as AutoScroll true. ... If I drop the form such that the entire CheckListBox does not show, ...
    (microsoft.public.dotnet.languages.vb)
  • Strange movement in hosted form in form
    ... After much trying with user control I ... The form itsself hosts a top panel with a label and text box, ... upon which the controls are dropped is marked as AutoScroll true. ... If I drop the form such that the entire CheckListBox does not show, ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Checklistbox, scrollbar in asp.net
    ... I put a checklistbox on my control, and bound it to the db. ... There are approx 200 records that fill the box, but the box is not keeping it's shape and adding scrollbars. ... I would use the plain list box, except I prefer the checkbox look ...
    (microsoft.public.vsnet.ide)

Loading