Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Greying out items in a combobox
Message
From
12/03/2009 15:57:41
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01387493
Message ID:
01387501
Views:
53
>>I have a combobox with the rowsourcetype set to sql statement. The rowsource is "select descrip,type from activity_types into cursor curActivity order by type"
>>
>>What I want to do is grey out items in the combobox after an item has been selected and saved in the controlsource table. Any ideas about how to do this?
>
>How big is the table? Can you use array or value instead? If yes, then you can make the item disabled by adding \ before the item.

The table has five items. I could probably use value, but I need to display the descrip and the activity type in the combobox. The activity type is saved in the controlsource table.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform