Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Weirdo Property Q
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00697963
Message ID:
00697965
Vues:
12
>DEFINE CLASS lblMy as Label
> Left=4
> Top=25*lnCntr
>ENDDEFINE
>
>1) Why can I set the .Left default here, but not in the visual class designer?


You can but lnCntr has to be in scope. So it would be better to use class property instead of lnCntr. For example, if class has property nCntr than you can put following expresion in the label Top property in the Class Designer =25*This.nCntr.

>
>2) A step further: When I know that the lnCntr var will have a valid value when I ADDOBJECT("lbl1","lblMy"), why can´t I put the default that way or how can I?

The same here.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform