Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I get pictures on a bound listbox
Message
 
 
To
02/08/1998 23:01:44
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00123257
Message ID:
00123507
Views:
20
>THISFORM.{listX}.Picture[I] = "question.bmp".

You don't need to loop through each item. You can shorten the code to:

ThisForm.Listx.Picture = "question.bmp"

You only need to loop through items if the picture is conditional.

>When I press the button, pictures appear in my unbound list only. I see some >tiny piece of a line or something appearing before the value in the bound list.
>
>I compared the properties of the 2 lists, and the only difference (excepting name, left, ...) were: RowSource=product.product_id and RowSourceType="6-Fields"
>
>I'm stuck.

I just tried your scenario - and it worked fine. What version of VFP are you using????
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform