Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture on Desktop
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093474
Message ID:
00093488
Views:
28
>Hello,
> How do I put a .BMP in the main vfp screen. I tried _screen.picture, but that does not show the picture in the vfp main screen. Any suggestions?
>
>Thanks

Try This:

with _screen

**-- Add an image object
*
.AddObject('myPic','image')

**-- Set the picture property
*
.myPic.Picture = 'c:\graphics\note.bmp'

**-- Center the control and show it
*
with .MyPic
.Top = (_screen.Height * .5) - (_screen.myPic.Height * .5)
.Left = (_screen.Width * .5) - (_screen.myPic.Width * .5)
.Visible = .T.
endwith

endwith
Previous
Reply
Map
View

Click here to load this message in the networking platform