Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create picture using _screen commands
Message
From
05/01/2005 09:24:01
 
 
To
05/01/2005 09:07:27
Brian O'Donovan
Crescent Computers
Cork, Ireland
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00974361
Message ID:
00974364
Views:
14
You have to add an image object:
_screen.AddObject('loImage','Image')
_screen.loImage.Picture=yourpicture
_screen.loImage.Visible= .T.
To centre:
_screen.loImage.Left=(_screen.Width-_screen.loImage.Width)/2
_screen.loImage.Top=(_screen.Height-_screen.loImage.Height)/2
>Hi All
>
>I am looking to create an image on the main foxpro window that I can manipulate , centre ect. depending on the resolution that is currently being used. I know I can use the _screen.picture command but this does not allow me to centre to image.
>
>Thanks
>
>Brian O Donovan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform