Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SETALL for Selected Listbox
Message
From
26/09/2006 18:53:18
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01157346
Message ID:
01157373
Views:
29
>Hi from Karen and Tommy! Well, just Tommy!
>
>Question 2 today!
>
>I'd like to make all the Listbox items in a listbox be Selected by clicking on a checkbox next to it.
>
>I figure I can loop through the elements and set each one "Selected".
>
>But I wanted to avoid that and use Setall for the listbox to set all the elements to be "selected".
>
>Didn't see a Setall Method for listbox. Anything I'm missing?
>
>Thanks!

Tommy,
You didn't miss:( You need to loop. That means use that listbox for few items only.
PS: Hi to Karen:)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform