>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement