Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox picture property
Message
De
21/01/2002 17:02:58
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, États-Unis
 
 
À
21/01/2002 16:40:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00607926
Message ID:
00608035
Vues:
18
This works but when I click on the list, all the pictures change to the default picture. As long as I don't click on the list, each item can have a different picture.

What am I doing wrong?
Mylistbox.Rowsource = "mycursor.field"
Mylistbox.Rowsourcetype = 2
IF condition
THISFORM.Mylistbox.Picture[n] ='IMAGES\image1.BMP'
ELSE
THISFORM.Mylistbox.Picture[n] ='IMAGES\image2.BMP'
ENDIF

Thanks,

Jerryt


>
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform