General information
Category:
Forms & Form designer
Thanks for the response. It sure looked to me like it didn't work, but I figured I was doing something wrong as usual <g>.
Bob
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only