Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read-only Listbox doesn't show selected item.
Message
De
18/08/1999 12:10:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00254700
Message ID:
00255051
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform