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:
00418387
Vues:
24
>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...


Don't know at this moment, but what about a mulitselectgrid. Then you can simply use something like
replace all dbcheck with .T.
you can have that extra (check) field at runtie by using
Select .T.,selectionfields fro mytable where ... into ...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform