Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknown member in LostFocus Event.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00140462
Message ID:
00141149
Vues:
30
>>>If this.Parent.First_field.value = "Y"
>>> This.enabled = .t.
>>>else
>>> This.enabled=.f.
>>>endif
>>
>>Or just
>>
>> this.Enabled = thisForm.First_field.Value = "Y"
>
>Nice, but in the near future there is perhaps one line more to add. Some motehod call (This.doThatAndThat) ?

Then you change it. :)

But if you don't need to call this.doThatAndThat(), then the short version is (slightly) faster and more readable (to me, at least).
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform