Hi Alan:
>Is the lReadOnly property of the textbox subclass public?
Yes it is. If I dont specify the class name, everything (control) in the container that has an lReadOnly property setting is set .T. - by just following the more specific syntax of the method (because I only want to set lReadOnly True on the textbox subclasses) causes the problem by reporting that lReadOnly cannot be found when it is clearly there?
>
>Alan
>
>>Hi!
>>
>>I have noticed that when I use a container's SetAll method as such :-
>>
>>
>>oCnt.setAll('lReadOnly', .T.)
>>
>>
>>all is fine, but when I specify a specific subclass name (a textbox subclass) like so :-
>>
>>
>>oCnt.setAll('lReadOnly', .T., 'txtSubClassName')
>>
>>
>>I get an error message saying that the 'lReadOnly' property cannot be found. The property does exist in the subclassed textbox and in fact, they are the only type of textbox in this container.
>>
>>Any thoughts/ideas what is happening here?
>>
>>Thanks!
-=Gary