Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox MultiSelect = .T. Selected Item Border
Message
 
 
To
30/12/2005 11:50:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01082036
Message ID:
01082446
Views:
9
This message has been marked as a message which has helped to the initial question of the thread.
Hi Tracy,

AFAIK, the ListBox doesn't have a property to turn off the current item outline. Keep in mind, that VFP9 will blow up when ListIndex=0 and user presses Enter. It has been fixed in SP1.

>I have a listbox with multiselect = .T.
>I step through the listbox and highlight items based on a condition. This portion works correctly. I could have multiple items highlighted. I don't really highlight but I change the font forecolor to red. So now let's say I have 10 items in the list and 5 are red and 5 are black. If I am on item 6 (red or black) there is dashed outline around the item and I need to turn this off so you cannot see which item in the listbox you are on. (they are for display purposes only and there is a vertical scrollbar).
>
>For now I set the listindex value to 0 when it first displays (and also nodefault and listindex = 0 in the listbox click) which works.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform