Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying picture files
Message
 
To
25/04/2005 09:23:52
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01008054
Message ID:
01008336
Views:
17
This message has been marked as a message which has helped to the initial question of the thread.
Hi David,

>How can you display a jpg file on a form with scroll bars and zoom capabilities?

It's not that difficult to implement a scrollbar with two nested containers and some code in the MouseDown, MouseMove and MouseUp event. An upcoming Advisor issue (June, I think) will contain a small class that displays an image with scrollbars and the possibility to specify a zoom factor.

BTW, if the image should cover the entire form, you can use a form with ScrollsBars=3 and make the image object large enough so that it scales accordingly.
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform