Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
With _Screen
Message
From
11/04/2002 06:07:07
 
 
To
11/04/2002 05:57:19
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00643609
Message ID:
00643611
Views:
7
>I am setting the properties of _Screen in my application as Shown below.
>With this I am getting my background set to image "BackGrnd.bmp", but it gets tiled.
>
>Does any body know how to set background image centered or streached?
>
>********************************************************************
>
WITH _Screen
>     .BackColor=rgb(192,192,192)   && Change the background to grey
>     .Caption=" ABC Graphics Pvt Limited "
>     .Icon="ABC.iCO"
>     .picture="backgrnd.bmp"
>     .windowstate=2
>     .closable= .f.
>     .sizebox = .f.
>     .maxbutton=.f.
>     .minbutton=.f.
>     .Autocenter=.t.
>     .movable=.f.
>ENDWITH
The _SCREEN.picture is always tiled - to do what you want, you'll need to place an image control on _SCREEN, size it appropriately, set the characteristics and place the image there.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform