Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can I detect the user has selected in a multiselect List?
Message
De
23/05/2001 14:17:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Can I detect the user has selected in a multiselect List?
Divers
Thread ID:
00510516
Message ID:
00510516
Vues:
40
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform