>>> 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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only