Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sizing Question
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Miscellaneous
Thread ID:
00462691
Message ID:
00462898
Views:
14
Hi Vlad,

When I am in design mode and add pictures of different sizes my image control adjusts properly. When in Run mode my image control doesn't seem to want to resize. Any ideas?

Thanks,
Paul

>Hi!
>
>With current capabilities of computers you can do not put any limitations to the size of image. I made application that transfers big binary files to and from SQL Server, it lasts 2 seconds for 2.5MB image in the end version.
>
>In your case, when you store just path to image on the file server, it will be even more quickly.
>
>As about form that displays images - you can use the ability of image control to auto resize to fit the image in it. Assign image path to image control, after this image control will resize self to the size of image. Use DOEVENTS command to assure image resized. Than use the size of image control to resize main form. All this do at the "Activate" event of form.
>
>>I am going to add the ability to store a path to a picture for inventory records. I was thinking of building a form class to display the image. This way the end user would click a button to see the picture rather than wasting real estate on the main form.
>>
>>Anyway, I'm wondering the best way to handle different size images. I envision that different clients will be creating different sized images. Should I put a requirement on a size or is there a way to adjust the size of the form class to accomodate different size images?
>>
>>Thanks in advance,
>>
>>Paul
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform