General information
Category:
Object Oriented Programming
>>When you drop your class on the form you are in effect creating a subclass and you can override PEMs. Any code you add to this instance ...
>
>Notice how you used both "subclass" and "instance" to refer to it. It can't be both, but yet it is.
>
>> Any code you add to this instance can access the protected property.
>
>No it can't! Thats my point. Add code to the click method of the object on the form and you will see that it won't work.
>
>Try
>WAIT WINDOW This.myproperty
>
>
>-Dave
PMJI,
An object on a form can't access a protected property of the form. Only methods in the form class itself can.
Is that the problem?
Previous
Next
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