Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox icons change when click on item
Message
From
06/08/1998 15:42:14
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00123551
Message ID:
00124588
Views:
13
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
Map
View

Click here to load this message in the networking platform