Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uploading pictures into FoxPro
Message
 
À
11/11/1999 16:02:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00290228
Message ID:
00290336
Vues:
27
>Thanks all for the tip,
> What if the photos are of different sizes? If I want the pictures to display beside the client information on the same form, then those sizes will vary will they not. Won't I have to do some cutting to ensure that everytime I refresh the form, that all the pictures will fit into the space on the form that will hold them?
>
>Jeff T.

It is important to display the image ISOMETRIC. Expands or Contracts the image to fit the space but, keeps the aspect ratio.

We use the following code to display an image that resides in a separate file.
The first part (before IF FILE), sets up a white backgroud for the image.

@ 5.692,73.000 TO 17.250,122.800 ;
PATTERN 1 ;
PEN 1, 8 ;
COLOR RGB(255,255,255,255,255,255)

IF FILE('\ft\poimages\'+string5)
@ 5.692,73.000 SAY '\ft\poimages\'+string5;
BITMAP SIZE 11.500,50.000 ISOMETRIC
ENDIF


Hope this is of some use to you.
Jim Finger
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform