Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read-only Listbox doesn't show selected item.
Message
From
18/08/1999 12:10:39
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00254700
Message ID:
00255051
Views:
12
>Mark,
>
>Have you tried disabling the items in the listbox instead of the listbox itself. For example:
>
>for m.e = 1 to thisform.lstList1.listcount
> thisform.lstList1.listitem[ m.e ] = "\" + thisform.lstList1.listitem[ m.e ]
>endfor
>
>The highlight bar will appear as long as the user does not attempt to move it. Once the mouse or cursor is clicked in the listbox the highlight bar will disappear. You can, however, always force the highlight bar back again programmatically.
>
>I'm not sure if will give you all the functionality you need but it might bring you close enough to the behavior you want.

Benjamin,

I tried your suggestion for the listbox, it works just fine. This provides the user with what they wanted. Good idea on looping through the list items instead of worrying about the list container when enabled = .f. Thanks very much for your help.

-Mark
Mark Rietman
Previous
Reply
Map
View

Click here to load this message in the networking platform