Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ListBox control
Message
 
À
03/08/1996 20:42:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00002923
Message ID:
00005041
Vues:
25
>>The way to change the highlighted (selected) item in a list box is to change the selected() index property to true.
>>For example if you want indexed item number 10 to be selected for a list box named list1, do:
>>THISFORM.LIST1.SELECTED(10)=.T.
>>
>Is there a way to set the color of each line of a list box?
> The SelectedItemBackColor and forcolor only apply to the selected /
> active line but do show the ability to color diferenly an individual
> line within a list box. Perhaps making my own sub-classed ListBox?
Hi Jim,
You're probably going to end up simulating a listbox with a grid. With a grid you can easily do what you want.
Good luck
Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform