Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Centering Pictures in Screen
Message
De
28/06/2001 06:53:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
28/06/2001 06:10:57
Arda Eden
Çaglayan Turk Musiki Vakfi
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00524579
Message ID:
00524588
Vues:
20
This message has been marked as the solution to the initial question of the thread.
>After using: _screen.picture = "picture_name"
>Fox Pro tiles the picture on the screen. How can i center it ?

Arda,
Instead of _screen.picture use image object.
_screen.addobject('myWallpaper','image')
with _screen.myWallPaper
  .picture = getpict()
  .top = (_screen.Height - .Height) / 2
  .left = (_screen.Width - .Width) / 2
  .visible= .t.
endwith
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