Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Loop through all selected items in a listbox
Message
De
06/01/2000 12:40:42
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00311890
Message ID:
00313988
Vues:
43
>Isaac,
>>
>>You should be able to use the rightclick() as long as its the last selection you make while holding the shift or ctrl keys to make your selections. All the other selections should be made with the left click.
>>
>>-Isaac
>>
>
> Yes, I just tried it, and it works. But I'm now aware about such 'limitation' and what about users? What should I do? Put notes or tiptooltext? I'd better switch to del button instead.

Nadya,
To have the right click do something to a list is probably not considered good practice. However, I frequently use the right click on lists to popup a shortcut menu (ala windows style) which has options such as add, edit, delete, print, etc. Then depending on the choice (if any) made by the user, I will make a call to a method which in the delete case could loop thru the list box deleting selected entries.

-Isaac
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform