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:
00429391
Views:
20
Hi!

Ko, you're right. But the solution is much more simple - use tree-view ActiveX control. It allows to define color for each node separately. However, it requires some procramming...

>>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform