Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Centering Pictures in Screen
Message
From
28/06/2001 06:53:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
28/06/2001 06:10:57
Arda Eden
Çaglayan Turk Musiki Vakfi
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00524579
Message ID:
00524588
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform