Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can I add a 'separator' to a dropdown list?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01191611
Message ID:
01191614
Views:
11
>Is there a way to add a separator-line or change colors of only specific items in a dropdown list?
>I’m trying to give the user a ‘visual’ clue to help them narrow their choices.
>Ie) first 3 items then a ‘line’ (_________) and then the next 5 choices;
>Or the first 3 in yellow and the rest normal.
>
>I currently made 2 columns and put an asterisk in the ones I want to ‘highlight’ but I don’t like that solution.
>I also made a ‘line’ as one of the choices so the line ‘appears’ but the user can choose that one and I don’t like that either.
>
>I’m developing in VFP 9

You can disable an item in a combobox by adding a backslash to the beginning of the item expression. When you disable an item using a backslash, it is disabled for mouse access only. To disable the item from mouse and keyboard, preface the entry with both backslash and close bracket characters ("\]").
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform