Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in list box
Message
 
À
20/09/2000 02:43:47
Jeffrey Ang
JGA Software Inc.
Davao, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00418379
Message ID:
00418823
Vues:
21
Jeff,
You've heard enough about NOT using a listbox < smile >, but can you bypass the selection procedure? If your user wants to select all the items, then presumably he wants to DO something with them. Can the Select All button simply call that processing code for each item in the list box?

HTH
Barbara

>i have 12,000 records in a list box and i want to select/deselect it all. my code goes like this:
>
>(IN COMMAND BUTTON - Click Event)
>
>Thisform.LockScreen = .T.
>FOR nloop = 1 TO Thisform.List1.ListCount
> Thisform.List1.Selected(nloop) = ! Thisform.List1.Selected(nloop)
>ENDFOR
>Thisform.LockScreen = .F.
>
>this works very slow, is there any solution?
>Thanks in advance...
Barbara Paltiel, Paltiel Inc.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform