Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in list box
Message
 
To
20/09/2000 02:43:47
Jeffrey Ang
JGA Software Inc.
Davao, Philippines
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00418379
Message ID:
00418387
Views:
25
>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 ...
Previous
Reply
Map
View

Click here to load this message in the networking platform