Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox icons change when click on item
Message
 
À
03/08/1998 11:31:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00123551
Message ID:
00124535
Vues:
18
>I have a bound listbox that specifies an initial picture (picture1.bmp). I have a button on the form that changes individual entries (THISFORM.ListBox.Picture[i] = "picture2.bmp"). Everything looks great, until I click on a line in the listbox. At this point, all the lines revert back to "picture1.bmp".
>
>The listbox works fine if it is not bound (RowSource="product.product_id, RowSourceType=6-Fields).
>
>How can I change the pictures and have them stay?

Bob this is true. The control do not work properly with picture. If you do not bound the control to data it will work if you have lest then 50 line in the control.
If you check the doc of VFP you will find that the picture is not property of the list box control. Because MS do not support this property.

We had to create a VC++ control to do this in VFP5.0
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform