Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very large numbers of pictures in VFP combos?
Message
From
26/10/2016 10:17:01
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/10/2016 09:24:50
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01642137
Message ID:
01642375
Views:
61
>I'm pretty sure that people have duplicated the VFP Combo Box functionality with a grid. This gives you the best of both worlds as grids can handle much more data than combos. Maybe you can find an existing control or create one yourself?

Except the grid is exactly wrong tool for the task. 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.

back to same old

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

Click here to load this message in the networking platform