What I did was to create a textbox subclass (TestText) of fox's textbox class, give it a property called lReadOnly, and add it 3 times to a container subclass (TestContainer). I put the container subclass on a form with it's 3 text boxes. Finally, I added a button to the form, and in the button's click, I put the following code:
ThisForm.TestContainer1.SetAll("lReadOnly", .T., "TestText1")
ThisForm.TestContainer1.Refresh()
In the textbox subclass refresh, I have:
This.Value = IIF(This.lReadOnly, 'True', 'False')
When I click the button, the textboxes all change to 'True'
Alan
>Hi Alan:
>
>>Gary, I'm not seeing that in version 7 - sp1.
>
>Which bit are you not seeing <s> ? What are you using as the specific subclass name value? Is your code based on a textbox subclass in a container on a form?
>
>>What version and service pack of VFP are you using?
>
>VFP7 SP1. Win2K SP3.
>
>Thanks for your interest!
>
>Best