Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Properties of ListBox Items
Message
From
14/08/1999 17:43:10
 
 
To
14/08/1999 15:25:45
Antonio Gubaira
Ingenieria Y Sistemas
Valencia, Venezuela
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00252340
Message ID:
00253792
Views:
18
Hi Antonio,

>OK. But I need to do it at runtime, according to certain conditions.

If your using a rowsourcetype of 0 or 1 you can do something like this.
combo1.list(X)=iif(lMyCondition,'\','')+justfname(combo1.list(X))
What is the case in which you need unselectable choices? Most cases are when a combo contains complex lists where headers may be necessary to group items. Otherwise filling a combo with unselectable choices bogs down the list and makes it harder to use. I would suggest not showing this items in the first place.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform