Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to see image full size?
Message
From
19/07/2011 03:27:36
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01518483
Message ID:
01518489
Views:
97
This message has been marked as a message which has helped to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform