Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox picture?
Message
De
22/09/1998 13:30:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00139466
Message ID:
00139529
Vues:
23
>>It means that you fill listbox using AddItem() and then specify bmp for each item separately:
>>List.Additem("item1")
>>List.Picture(1)=item1.bmp
>>List.Additem("item2")
>>List.Picture(2)=item2.bmp
>>So you can add bmp to particular items only. If you have many items you may better use grid.
>
>I don't want to put one item at a time in the listbox. It has a cursor as a rowsource and I need it that way. What I'm trying to do is in the SELECT statement, where I have it putting "R" or "" in the crepair field, have it put a picture or nothing instead.
>
>It shouldn't matter whether I'm using a listbox or a grid. Why would the SELECT care where its cursor ends up?
>
>Thanks,
>
>-Michelle

In a case of grid you can use cursor as grid.recordsource and Column.dynamiccurrentcontrol will allow you to bring up column.image to indicate particular field.value.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform