Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image for desktop
Message
From
06/08/2003 08:53:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00817262
Message ID:
00817267
Views:
19
This message has been marked as the solution to the initial question of the thread.
Moises,

Tou can assign a picture to the main VFP window by adding the following code to your application.
_screen.Picture = "c:\yourpicture.bmp"
If you want more control over the picture and its location you could add a VFP Image control to the screen and set its position.
_screen.AddObject("splashimage", "Image")
_screen.splashimage.Picture = "c:\yourpicture.bmp"
_screen.splashimage.Left = 100
_screen.splashimage.Top = 100
_screen.splashimage.Visible = .T.
This technique has the added benifit of allowing you to use your own subclassed version of the VFP Image baseclass and specialise its functionality.

HTH
Neil
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform