Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I detect the user has selected in a multiselect List?
Message
From
23/05/2001 14:17:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can I detect the user has selected in a multiselect List?
Miscellaneous
Thread ID:
00510516
Message ID:
00510516
Views:
39
Hi, all!

Here is my problem:

I have a multiselect listbox on a form. There is also a command button on the form. The command button should only be enabled if two or more list items are selected.

Is there any event which fires as list items are selected/unselected?

I tried putting some code in the mousedown/mouseup events. This works unless the user uses the keyboard to select items.

I also tried creating a custom listbox class, with a selected_assign() method. This method doesn't seem to ever fire. I was hoping that as the selected() property of the listbox changed, the assign method would fire. But it doesn't.

Any ideas?

- George
Next
Reply
Map
View

Click here to load this message in the networking platform