Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How I can disabled an item in a combobox?
Message
From
01/05/1997 15:38:30
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00030498
Message ID:
00030504
Views:
56
Michel,

The way to accomplish this is to place a "\" as the first character of the list item content.
There are a few problems, however:
1) This is only easily done for certain rowsourcetypes;
2) You cannot programatically test it to see if it is disabled or not (the "\" does *NOT* remain part of the value)

This is one of those cases where the VFP folk didn't think things through particularly well, and we all get to pay the price!

Good luck,
Jim N

>Hi,
> I have a combobox and I want to disabled the first and the third item in the list. Anybody can help me?
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform