Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desktop Picture repeats
Message
De
12/10/2009 14:18:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01429012
Message ID:
01429020
Vues:
73
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform