Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to see image full size?
Message
 
 
À
19/07/2011 03:27:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01518483
Message ID:
01518506
Vues:
59
>>Hi everybody,
>>
>>I have varbinary(max) field in a SQL Server table where I store images. On a form I put image control and assign PictureVal property to the field's name.
>>
>>I want to also be able to see the image full size (or bigger). How can I achieve it?
>>
>>Thanks in advance.
>Hi,
>
>1)
>Show your picture in a separate an imageobject of a seperate form: frmPicture.Image1
>
>frmPicture.Image1.Anchor = 15
>frmPicture.Image1.Stretch = 1
>
>This willl make the maximum available size depending on screen size.
>
>2)
>In case you want to show the picture in the maximum size of the picture itself which could be bigger than the screen you will have to make use of a scrollable pictureobject. A little bit more code but absolutely doable.
>
>3)
>You can also restrict the size of the picture to be shown to the maximum size of the pictureobject, for that you have to play with the picturedimensions.
>.
>Regards,
>
>Koen
>
>Koen

I think I'll try this idea first, I like it and it is very simple.
If it's not broken, fix it until it is.


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

Click here to load this message in the networking platform