Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different colors in drop-down list?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01226129
Message ID:
01226134
Views:
18
>Is it possible to have different colors for items in a drop-down list?
>
>My idea is that for the items which are no longer available that I'd color them forecolor=RED and anythign else available as BLUE.

You can disable certain items by adding '\' (mild) or '\]' (hard). For example, Combobox.Additem('\]noavail') will show 'noavail' as disabled and user won't be able to access it.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform