Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box
Message
From
13/06/2003 02:27:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Combo box
Miscellaneous
Thread ID:
00799681
Message ID:
00799681
Views:
57
I'm trying to set up a combo box on which the requery generates a new list with addlistitem. I manage except for one thing:

-> the list should contain items with elemtnts that are disabled, doing so with the "\" in front of the combobox-list-items.

Is there a reason why this doesn't work? Should I use a different approach (now I'm using
this.clear
i=1
scan
this.addlistitem(iif(tbl->disabled,"\","")+tbl->descript1,i,1)
this.addlistitem(tbl->code_id)
i = i + 1
endscan

Is there a reason why the \ is not interpreted as a disabled item???

Thanks from a desperate.
Next
Reply
Map
View

Click here to load this message in the networking platform