Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can Grids Show Images & Data well ??
Message
De
15/12/2000 18:28:15
Nicholas Brick
Procam Systems Ltd
Cork, Irlande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00452643
Message ID:
00454284
Vues:
22
>>There is clearly a knack (which I do not possess) to getting VFP Grids to show images as well as data.
>>Anyone know of a good article or a simple little trick ?
>
>You need to use the DynamicCurrentControl event to refresh your column of pictures. We use a container which has an image control on it to give us the size control (stretch as you indicate). The container with empty image is the parent to all possibilities (images) that can be displayed. The DynamicCurrentControl is set to call a method in the grid which will evaluate your conditions and return the control with the appropriate image for display in the column.
>
>Grid.Column1.DynamicCurrentControl = 'THIS.Parent.WhatPicture(Cursor.Value....)'
>
>Works for us.
>
>Steve


Thanks for that Steve, works for me too. Simple & Sweet !
Apologies for the delay in replying. I had a good reply from Cetin earlier and took a rest :)

Thanks again

Nick
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform