Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAll Question
Message
From
21/03/2003 12:08:36
 
 
To
21/03/2003 10:56:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00768480
Message ID:
00768659
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform