Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center a graphic in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00010830
Message ID:
00010863
Vues:
37
>>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().

Don't think you can do this. From my experience the picture property is not read/writeable at run time. You load in the first picture but then you can't change it. Let me know if this is not the case.
Todd Burstain, MD
infinitydoc@delphi.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform