Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sizing Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Titre:
Divers
Thread ID:
00462691
Message ID:
00462915
Vues:
11
Hi!

;))
Correct. I was catched on this 'feature' many times. There is an array for each control that contains original size and position. You require to change it in order to change size of control compare to the size of form correctly.

>Whooops....
>
>Never mind, I just realized I was using Visual Maxframe controls on the form and then when I resized the form in the activate event...The controls would also resize.
>
>Thanks,
>Paul
>
>>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform