Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox picture property
Message
De
21/01/2002 16:40:41
 
 
À
21/01/2002 14:23:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00607926
Message ID:
00608022
Vues:
19
>Using VFP7 and a listbox, how can I control which items in a listbox gets which picture?
>
>For example, I want some of my listbox items to have a .picture=mybmp.bmp, but I also want other items to have either no picture or a different picture.
>
>Can this be done?

Yes, you can do that
oListBox.Picture = 'MyBmp.Bmp'   && default bitmap for listbox
oListBox.Picture[nIndex] = 'MyBmp1.Bmp'
oListBox.Picture[nIndex] = 'Blank.Bmp'   && blank/empty bitmap
Hth
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform