Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_screen and .picture control
Message
From
15/05/2002 12:49:13
 
 
To
15/05/2002 12:34:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00657009
Message ID:
00657015
Views:
25
Dennis,

Your best bet is to use the image control, and add it to the _screen. For example:
_screen.addobject("oPicture","image")
_screen.oPicture.top = 1
_screen.oPicture.left = 1
_screen.oPicture.picture = "c:\data\companyLogo.bmp"
_screen.oPicture.visible = .t.
Now this is only a starting point, as you probably don't want the picture on the top left corner of the screen. You can subclass the image control, and use the sysmetric() function to properly position the image on the screen.

>I want to have our company logo displayed in the background when running an exe application. Using the following code of:
>
>WITH _Screen
> .picture = xxx.bmp
>ENDWITH
>
>The logo does display but the screen is filled with multiple copies of the logo. Is there a way to control the picture property to have it display only one copy of the logo? Do I need to resize the graphic to a certain size or is there some other property which can be set?
>
>Thanks in advance for any assistance.
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform