Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Continuous mousedown
Message
From
28/09/2006 15:11:57
 
 
To
28/09/2006 11:12:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01157829
Message ID:
01157953
Views:
15
>>A quick example:
>>
>>
>>
>>	Procedure command1.MouseUp   &&(1)
>>	Lparameters nButton, nShift, nXCoord, nYCoord
>>	Thisform.label1.Caption = "MOUSE UP"
>>	Thisform.timer1.Enabled = .F.
>>	Endproc
>>
>
>
>	Procedure command1.MouseUp   &&(2)
>	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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform