Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desktop Picture repeats
Message
From
12/10/2009 14:18:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01429012
Message ID:
01429020
Views:
74
>I know that I can set the picture for the desktop's _SCREEN.Picture property, but how do you stop the picture from repeating a zillion times?
>
>Cecil

Instead of using Picture property of _screen, addobject an image to _screen and set its picture. You can set its placement + strecth. ie:
_screen.AddObject('myPic', 'image')
_screen.myPic.Picture = 'c:\MyFolder\myPicture.jpg'
_screen.myPic.Visible = .t.
_screen.myPic.Left = (_screen.width-_screen.myPic.Width)/2
_screen.myPic.Top = (_screen.height-_screen.myPic.Height)/2
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform