Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very large numbers of pictures in VFP combos?
Message
From
27/10/2016 04:38:03
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/10/2016 15:11:23
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., New Zealand
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01642137
Message ID:
01642389
Views:
43
>>>If you want to have multiple pictures for the grid, you need one control per picture and a somewhat involved dynamiccurrentcontrol expression (probably a function) to select the right picture for the current row. Even though these controls can be built dynamically, somewhere during the .init() of the column or the grid, with the number of rows the OP is describing, I'm not sure that the grid won't be sluggish.
>
>You're right, it can get *very* sluggish to do this with visible painting on occasion.
>
>However, see my separate response to the OP: it's possible to include just one image control and update its .picture on the fly to any accessible image.

The deja vu kicked in (kicked me in the head, that is) at the very end, when I read the code. I knew this one, didn't use it for a few years, forgot.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform