Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control resizing in grids
Message
De
20/06/2007 15:33:06
 
 
À
20/06/2007 15:27:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01234081
Message ID:
01234566
Vues:
27
>>I like this trick Re: Images in grid Thread #1130802 Message #1130913 Worked for me.
>
>
>this.FileIcon.Picture = curFiles.cIcon_File
>
>
>Hi Naomi,
>
>That's a useful technique, but...
>
>The picture property value is cFileName so that should only work if he wrote the memo field out to a file first.
>
>From looking at the help file just setting PictureVal to the memo field looks like it should work. I've never tried it. However, if he needs to resize or adjust the image in anyway he'll need to put the picture in a container and use the backstyle_access technique.

PictureVal (set to memo field) will work if called dynamically, i.e. similar to the example shown by Naomi, though Refresh seems to be unnecessary there. To 'resize' picture one may use Image.Stretch property.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform