Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stretching a background pic
Message
 
À
16/09/2003 11:18:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00829425
Message ID:
00829445
Vues:
17
Thanks Pamela!

Tommy

>Hi Tommy,
>
>Don't use the picture property. Add an image object instead. Its stretch property allows it to do what you want
>
>
WITH _Screen
>  .AddObject( "MyImage", "Image" )
>  .MyImage.Picture = "MyPicture.bmp"
>  .MyIMage.Stretch = 2
>  .MyImage.Width = Sysmetric(1)
>  .MyImage.Height = Sysmetric(2)
>  .MyImage.Visible = .T.
>ENDIWTH
>
>pamela
>
>>I have a background pic I wish to use for the main FoxPro form using the _screen.picture property.
>>
>>Is there a property that also allows it to stretch the pic instead of tiling it?
>>
>>Thanks!
Tommy Tillman A+ NetWork+ MCP
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform