Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SetAll Question
Message
De
21/03/2003 12:08:36
 
 
À
21/03/2003 10:56:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00768480
Message ID:
00768659
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform