Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Clearing Selected Items in A Listbox
Message
De
11/12/2001 13:53:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00592814
Message ID:
00592828
Vues:
14
This message has been marked as the solution to the initial question of the thread.
Hello Kirk,

Please let me know if line 2 is required...
with thisForm.list1
    .setfocus()   &&  I'm not sure if this is necessary
                        &&      I have found that it is necessary
                        &&      when setting selections to .t.
    for i = 1 to .listcount        
       .selected(i) = .f.
    next i
endwith
>I'm sure this is an easy thing, but I have a listbox that allows for multiple selection. After the user selects the desired items and clicks the add button, I want to unselect the items they selected in the listbox. Is there an easy way?
>
>Thanks
>Kirk
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform