Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Center an Image
Message
De
23/09/2008 10:34:06
 
 
À
23/09/2008 10:20:22
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01349830
Message ID:
01349835
Vues:
16
Hi Jay,

In case your image obj has the form itself as parent, in image.init you could place code like this:


This.Left = (This.Parent.Width - This.Width) / 2
This.Top = (This.Parent.Height - This.Height) / 2
This.Anchor = 768


>How do I center an image on a form? I did not see a property for that.
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform