Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lost property?
Message
De
24/04/2005 08:20:51
 
 
À
24/04/2005 08:05:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01007870
Message ID:
01007881
Vues:
9
Hello,

there no buildin syntax to do it ..

you can archieve it manually e.g.:

yourForm.Init():
THIS.AddObject('someName','yourClass')
THIS.someName.Top = 25
THIS.someName.Left = 10
...

or let the init event of your class accept the position
e.g.

yourClass.Init():
LPARAMETERS nTop, nBottom, nLeft, nRight
THIS.Top = nTop
THIS.Bottom = nBottom
....

then in yourForm.Init()
THIS.AddObject('someName','yourClass',25,10,10,25)

Regards
Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform