Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stretching a background pic
Message
 
To
16/09/2003 11:18:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00829425
Message ID:
00829445
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform