Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Showing picture in full size
Message
From
25/11/2011 13:27:07
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01529804
Message ID:
01529812
Views:
71
This message has been marked as the solution to the initial question of the thread.
>>>What I need is the image control to automatically resize for the picture and the form should resize as well. May be we need to use Web Browser control? If yes, how can I make the Html based on the binary representation of the image?
>>
>>What if the picture is bigger then you current screen resolution?
>
>I should be able to use scrollbars.
>
>So, my first question - do you think I need to switch to WB control or keep using image control and form with scrollbars?

AFAIK you can't use WB if you don't know the extension.
If you want to use WB you should store it as file first and then make an HTML.
So better (for me) is to use VFP Form with scrollbars.
This worked for me in command window :-)
_screen.AddObject([aaa],[Image])
m1 = GETPICT()
aaaaa = FILETOSTR(m1)
_screen.aaa.Top = 0
_screen.aaa.Left = 0
_screen.aaa.PictureVal = aaaaa
_screen.aaa.Visible = .t.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform