>>> 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...
...............................
Thanks for joining in David ... I've got it now, and I like it.
Thanks Steve for a great chapter that held both surprises (for me) and a sample problem.
Time to write some code.
Bob
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement