Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7.0 Listbox items
Message
From
17/12/2002 09:15:09
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
17/12/2002 09:08:03
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00733622
Message ID:
00733629
Views:
20
>I have a listbox.
>I populate the listbox with records from a table.
>I need to disable some items based on certain conditions.
>
>Any suggestions how?

Disabled items need to be prefixed with a backslash. You can do that in the table; if you don't want to touch the field, you may add a new field which will hold the copy of it, or use a readwrite cursor instead. Just
replace myfield with "\"+myfield for {condition}

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform