Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I change size of form?
Message
De
14/04/2009 23:42:47
Luis Navas
Independent Consultant
Auckland, Nouvelle Zélande
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01394895
Message ID:
01394897
Vues:
47
>the current code yields a default size of my form. Is there a code i can use to change the size?
>Also i would like to insert an image in the form - is this possible?
>
>tnx
>
>k
>
>frmMyForm = CREATEOBJECT('Form') && Create a form
>frmMyForm.Closable = .f. && Disable the window pop-up menu
>frmMyForm.caption = [MyText]
>
>frmMyForm.AddObject('cmdCmndBtn1','cmdMyCmndBtn1')
>frmMyForm.AddObject('cmdCmndBtn2','cmdMyCmndBtn2')
>
>frmMyForm.cmdCmndBtn1.Visible =.T.
>frmMyForm.cmdCmndBtn2.Visible =.T.
>frmMyForm.SHOW && Display the form


To change the size, you can use the Height and Width properties. Also check the BorderStyle Property.

As for the Image look in the Help file for the Image Control
I never forget a face, but in your case I will make an exception :-)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform