Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unknown member in LostFocus Event.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00140462
Message ID:
00141149
Views:
28
>>>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).
Previous
Reply
Map
View

Click here to load this message in the networking platform