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:
00418823
Views:
22
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform