Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to resize a picture.bmp on a form?
Message
 
À
23/03/2003 18:51:19
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00769072
Message ID:
00769187
Vues:
17
Hello Henry

in your thisform.resize (event) put some code like this

thisform.picture.HEIGHT = THISFORM.HEIGHT-1
thisform.picture.WIDTH = THISFORM.WIDTH-1
thisform.refresh

Hello


>Hi all:
>
>I have on my mainform a .bmp file which has the following properties:
>
>Picture: Points to the bmp file in a directory
>Stretch: 1-Isometric
>Height: 473
>Width: 732
>
>Current behavior: When the app is launched, this bmp serves as a background picture to the mainform, as well as the background each time the user returns to the mainform. However, when I click the maximize button on teh form, the picture does NOT strech or fill up the screen like the apllication window does.
>
>Desired Outcome: How do I get the picture also to resize when maximized so that the picture fills the relative areas of the form?
>
>Thanks in advance.
Stephen McLaughlin
"Sexy Steve Valenteno", "Blastmaster"
stephenmclaughlin@gmail.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform