Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inheritance problem with controls
Message
De
25/10/1999 01:01:31
Vladimir Zhuravlev
Institute of the Physics of Earth,Russia
Moscow Region, Russie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Inheritance problem with controls
Divers
Thread ID:
00280857
Message ID:
00280857
Vues:
51
What is going on with VFP controls users properties.
I made class from VFP controls for buttons, My client did not like VFP buttons
which can not change color. I added my own control property forcolor and caption for caption
I used init event to set property of the label inside control based on control caption property
I assigned this property to something-label1
I put control to the form and to my surprise saw none in the control caption property.
Everything in methods were Inherited, all in user properties was forgot.
Why? (VFP6)
Best wishes, Vladimir Zhuravlev
set it
MVP-2006-2011, PHD in Math and Physics ,
host of www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform