Re: Listbox with Checkbox
sorry to "bother" you again with my listView suggestions :-)
You could do that using a listview instead of a listbox.
Set the "checkbox" property to true,
set listview to report mode
Now you can check the checkbox or double-click the text without side-effects.
Re: Listbox with Checkbox
When ever Lothar expresses his views about listView, i am there to say something about listbox!, well the old fahioned that i am :-)
You can use the ItemData property of each item to store the actual state. and when user double clicks it you can re check/uncheck it back, depending on the ItemData. This item data will be populated by the logic which actually verifies if the user is connected to server or not. It ofcourse requires a little code, ( and be warned that checking the items thru code invokes another _click event, so you should put static/module level flags to block recursive processing )
RK