>>>A quick example:
>>>
>>>
>>>
>>> Procedure command1.MouseUp
>>> Lparameters nButton, nShift, nXCoord, nYCoord
>>> Thisform.label1.Caption = "MOUSE UP"
>>> Thisform.timer1.Enabled = .F.
>>> Endproc
>>>
>>
>>
>> Procedure command1.MouseUp
>> Lparameters nButton, nShift, nXCoord, nYCoord
>> Thisform.timer1.Enabled = .F.
>> Thisform.label1.Caption = "MOUSE UP"
>> Endproc
>>
>
>Fabio:
>
>I said it was a "quick" example :-). Why do you think (2) is better than (1)? If you say so, I am shure there must be a good reason, can you explain it for me. In production code, label1 and those caption settings would'nt even be there I think.
>
>Carlos
The caption can end with a wrong value:
>>> Thisform.label1.Caption = "MOUSE UP"
>>> Thisform.timer1.Enabled = .F.