Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Different font/colors in the ListBox?
Message
From
25/10/2012 07:49:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01555715
Message ID:
01555769
Views:
86
>>>Hi everybody,
>>>
>>>I have a Mover on the form consisting of two listboxes. I want to show certain items in the listbox differently (say, in italic font or red color or with striken font). Is it possible with a regular listbox (part of the class) and if yes, how?
>>
>>If you use RowSourceType=9-popup, you can specify different colors for the items. Otherwise, you're limited to just ItemBackColor/ItemForeColor, DisabledItemBackColor, DisabledItemForeColor, SelectedItemBackColor/SelectedItemForeColor.
>>
>>Tamar
>
>Unfortunately, these listboxes are based on the array as their RowSourceType. I guess I will try going with disabling them. Does \ work for arrays?

Yes.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform