Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How many items in a list box?
Message
De
12/11/1996 09:31:51
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00011537
Message ID:
00012037
Vues:
38
>I think I understand what you are suggesting, but I've tried playing around with it, and I can't get FoxPro to do the MOUSE command, and then check the new selected item. I've tried using stuff in the MouseUp method, the Click method, and the DragDrop method (and many combinations), but I can't get it to work. Would it be possible for you to share a small code snippet? I am really perplexed as to how FoxPro wants to work.
>
>Thanks again!
>
>--Sam

First of all check what event you fire releasing the mouse. In you case it should be MouseUp event of Listbox (not form!). I didn't test but I don't see any reason why you cannot issue MOUSE CLICK command in this snippet (surely it should be tested carefully). I presume that this command will force selection of listbox item. Sorry, I cannot attach snippet here because 1)I didn't have this problem 2)My browser doesn't allow long messages.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform