Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox icons change when click on item
Message
 
To
03/08/1998 11:31:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00123551
Message ID:
00124535
Views:
19
>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
Next
Reply
Map
View

Click here to load this message in the networking platform