>>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only