Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OverRiding SubClasses at RunTime
Message
De
05/05/1998 14:08:31
 
 
À
05/05/1998 10:39:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00096608
Message ID:
00097115
Vues:
29
>> While I’m at it, what is the IF TYPE( “toControl.BackColor”) = “C” protecting us from? That is, how could our control not exist if we are passing only controls found in our form with FOR EACH oControl in THIS.Controls

Noy all controls have BackColor properties, and I imagine that any "crawler" that iterates through object collections must check first... By the way, don't forget that the crawler must not only traverse the form, but also recursively any containers therein...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform