Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control resizing in grids
Message
 
 
À
20/06/2007 14:10:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01234081
Message ID:
01234557
Vues:
16
>>Ok, I'm going to put the resizing issue aside for the time being. I only have a few controls that get effected and the grid.resize does work.(don't like it but..) I have to address adding images to a container in a grid from a memo field with saved .jpg images. Obviously (i think) I have to trigger to grid, to trigger the container to assign the memo field to the image.PictureVal property. While I can think of a few ideas, I'd prefer to find out the best proven way.
>>
>>thanks,
>>Bill
>
>Doesn't setting image.PictureVal = DataFile.MemoField at design time work for this?
>
>You can't "trigger to grid" for this if you need to vary something for each row displayed. Use the backstyle_access method for that.
>
>Here's a bit of an explanation:
>
>http://www.sweetpotatosoftware.com/SPSBlog/PermaLink,guid,878c1b11-1770-405c-92ea-cdbe2c838dfa.aspx
>
>And here's an example of backstyle_access being used: (Look at the end of the code)
>
>http://blogs.msdn.com/calvin_hsia/archive/2004/11/16/258422.aspx

I like this trick Re: Images in grid Thread #1130802 Message #1130913 Worked for me.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform