Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture on Desktop
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00093474
Message ID:
00093488
Vues:
29
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform