Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add pictures to listbox items?
Message
 
 
To
23/01/2000 10:07:17
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00321386
Message ID:
00321429
Views:
26
Robert,

The "Display Pictures In A List" example in solutions.app under controls/listbox works just fine for me clicking a row does not cause the picture to disappear. Are you talking about that example or another?

If you have really long lists you should look at using a grid instead.

>I would like to add bitmaps to the invoice items contained in a listbox. Doing this by iterating through the items and assigning a bitmap to the Picture property works fine until the click event of the listbox occurs. All pictures will disappear.
>
>The VFP documentation shows an example where the iteration and assignment is in the click event of the listbox. I checked it out. On the first click into the list the pictures disappear, the first column of the list flickers to the left, then the pictures will reappear. No good solution. And what about performance in long lists?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform