Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Andy Kramek
  Where is Andy Kramek?
 Hot Springs Village
 Arkansas - United States
 Andy Kramek
 To: FoxGuy Ruiz
  Where is FoxGuy Ruiz?
 hawthorne
 California - United States
 FoxGuy Ruiz
 Tags
Subject: RE: Image in a screen
Thread ID: 143416 Message ID: 143418 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Tuesday, August 28, 2007 5:55:11 PM         
   


> hello i would like to know if there is a way to show an image in screen on VFP9. Not a in a form in a screen. Attached is a printscreen of a screen that we use in our program and we would like to show an image at the bottom of the screen.
>

Yes you can do that. The simplest way is to set the "Picture" property of the VFP _Screen object to point to the name of the file to display. HOwever this has issues if the screen is resized and a better solution is to use an image control :
_screen.AddObject( "imgbase", 'image' )
_Screen.imgbase.picture= GETFILE()
_screen.imgbase.Stretch= 2
_screen.imgbase.height = _screen.Height
_screen.imgbase.width= _screen.width
_screen.imgbase.visible = .T.


Regards
Andy Kramek
Microsoft MVP (Visual FoxPro)
Tightline Computers Inc, Akron Ohio, USA

ENTIRE THREAD

Image in a screen Posted by FoxGuy Degante @ 8/28/2007 5:39:11 PM
RE: Image in a screen Posted by tushar @ 8/28/2007 5:54:23 PM
RE: Image in a screen Posted by FoxGuy Degante @ 8/28/2007 6:21:43 PM
RE: Image in a screen Posted by tushar @ 8/28/2007 7:01:38 PM
RE: Image in a screen Posted by Kevin @ 8/29/2007 1:23:46 AM
RE: Image in a screen Posted by Ken Murphy @ 8/29/2007 4:07:03 AM
RE: Image in a screen Posted by Kevin @ 8/30/2007 5:58:07 AM
RE: Image in a screen Posted by tushar @ 8/30/2007 6:41:11 AM
RE: Image in a screen Posted by Ken Murphy @ 8/30/2007 1:04:06 PM
RE: Image in a screen Posted by Andy Kramek @ 8/28/2007 5:55:11 PM
RE: Image in a screen Posted by FoxGuy Degante @ 8/28/2007 6:22:45 PM
RE: Image in a screen Posted by Ken Murphy @ 8/28/2007 6:32:24 PM
RE: Image in a screen Posted by Andy Kramek @ 8/30/2007 1:13:26 PM