Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAll Question
Message
From
21/03/2003 09:53:16
 
 
To
21/03/2003 08:37:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00768480
Message ID:
00768563
Views:
23
Gary, I'm not seeing that in version 7 - sp1. What version and service pack of VFP are you using?

Alan

>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!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform