Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very large numbers of pictures in VFP combos?
Message
De
26/10/2016 15:11:23
John Ryan
Captain-Cooker Appreciation Society
Taumata Whakatangi ..., Nouvelle Zélande
 
 
À
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:
01642379
Vues:
49
>>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.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us.
"
-- Shakespeare: Coriolanus, Act 1, scene 1
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform