Consider using Grid with checboxes instead. It's much more user friendly. You can find one in the download section file #
9703.
>Hi All,
>
>I've got a form with a couple of multiselect listboxes. The problem I'm having is moving between the two listboxes. The default behaviour of GotFocus() is to set the entries that're already selected back to unselected. I'm controlling the contents of the listbox in a seperate array so repopulating it isn't a problem. However, getting the right code in GotFocus() is, at the moment I've got:
>
>ListBox::GotFocus()
>This.ResetListBox()
>NODEFAULT
>
>This just does not work properly. Clicks get lost and all manner of odd things happen.
>
>Even if I try just:
>
>ListBox::GotFocus()
>NODEFAULT
>
>Odd things still happen.
>
>Can anyone help?
>
>Regards
>
>Paul
--sb--