When we put a .gif or .bmp file onto a full screen (800 x 600) VFP 5 or 6 form, we get the picture repeated many times on the screen. Is there a way to get just one copy of the picture?
Thanks,
OTG Glenn Abelson
ACI
Computer Systems For Business
By setting a graphic using the picture property of a form (or _SCREEN system var), the graphic will be displayed tiled (wallpaper effect). Don't know if there is a setting/property I missed, but there you are.
Workaround: create a graphic just a wee bit bigger than the form can be, so it won't tile
But I guess the solution you need is to put an image-control on the form and connect the graphic to that control. Diederik Vermeeren
verm1864@exact.nl
The easiest way I have found is to create a form and put the image on that. If you set the alwaysonbottom (I love that property name) property to .t., it will always stay in the back. Set the properties to turn off the windowbar and set the border to none and you can't tell that it is not just a picture on the background.
I've created a form and put the image on that. I've set the alwaysonbottom property to .t. and set the properties to turn off the windowbar and set the border to none. I have set the image properties to 'stretch'.
But how do I have the graphic resize when I resize the main application window?
May I suggest you do not "piggy back" on someone else's question, re-ask your question in a new thread. Specially a thread that is over a year old. Mike Gagnon
If you want to get the best response to a question, please check out FAQ184-2483 first
mgagnon
Ok - I'll remember to re-ask questions in a new thread.
wgcs
Thanks for the info. I wasn't able to get the image itself to resize, but following some tips about screen resizing and by making the graphic larger than usual at least the graphic only is visible in the background and it centers within my application when resizing.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.