Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding Photos in a form
Message
De
08/09/2014 16:10:06
 
 
À
29/08/2014 18:25:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01606739
Message ID:
01607189
Vues:
93
>>What do you suggest if I want to have photos in a form?
>>
>>How do I manage if size of photos are different? I mean what should be the size of the image in the form?
>
>I have added images to my form for a membership program that I wrote. Found that the images auto-resized by the image control are horrible. So I used GDI to generate a thumbnail image to match the size of the image control. This gave much better results. As to the size of the image on the form -- it depends on the form size available to the image control as the width/height of the image control would be the size of the generated thumbnail.
>
>I saved the images to the file system in a directory under the database location and stored the image name to a table field. With the fixed file path that I controlled I did not have to store the file path with the image name.

Thank you for the feedback.
*******************************************************
Save a tree, eat a beaver.
Denis Chassé
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform