>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