General information
Category:
Forms & Form designer
Environment versions
Network:
Windows 2003 Server
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only