Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OverRiding SubClasses at RunTime
Message
From
05/05/1998 14:08:31
 
 
To
05/05/1998 10:39:03
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00096608
Message ID:
00097115
Views:
28
>> 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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform