Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Center a graphic in a form
Message
From
24/10/1996 04:40:43
 
 
To
23/10/1996 21:42:52
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00010830
Message ID:
00010843
Views:
33
>I have a form which will display a bunch of graphics at each 20 seconds.
>
>I have a timer which control the interval and refresh the graphic.
>

Hi Michel,

what about:

thisform.addobject("x", "image")
x.picture = "super.bmp"
x.left = (thisform.width - x.width) / 2
x.top = (thisform.height - x.height) /2
x.show


If you need to change the picture, just change the
x.picture property. Eventually you'll have to do a thisform.cls().
wOOdy

"*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.Visual FoxPro: It's magic !
(¸.·``··*
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform