Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SelectedItemForecolor
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00429332
Message ID:
00429388
Views:
19
>I want to change the color of a listbox item if a user right clicks that item. "Listbox.SelectedItemForecolor" doesn't work because it sets the forecolor for every item that becomes selected, whether or not the user right-clicks it.

If you mean a multiselct listbox that it is not possible i think
But if you only may select one file you can set the selecteditemforecolor in the rightclick method to the other color and reset it in the click or lostfocus event.
Otherwise (multiselect) i think you need a grid here
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform