Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very large numbers of pictures in VFP combos?
Message
De
27/10/2016 14:52:19
 
 
À
26/10/2016 10:17:01
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01642137
Message ID:
01642411
Vues:
78
>>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.

Hi Dragan,

if I remember correctly someone did this with a container control and it worked very well. They may have had to use a slightly complicated dynamicbackcolor expression, but if it works and works fast enough...
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform