Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox problem
Message
 
 
To
14/03/2002 17:50:58
Paul Robinshaw
Silkworm Technologies Limited
Macclesfield, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00633103
Message ID:
00633122
Views:
24
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform