Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To lock screen or not
Message
From
15/04/2011 10:32:57
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01507393
Message ID:
01507473
Views:
62
>>>>>What harm would it cause if after grid does Refresh() it sets the Lockscreen to false?
>>>>
>>>>Harm ? none - LockScreen won't be set any longer. But then, if that is the line of reasoning, why use it in the first place ?
>>>>
>>>
>>>Exactly my point :)
>>
>>You've lost me
>
>Craig's point was that without saving the Lockscreen condition the code would be dangerous. My point that adding code that stores and restores the Lockscreen condition does not make the code less dangerous.

It's not dangerous, but it's not optimum either

And wasn't the whole intent to optimize ?

It's not dangerous in this context - but that way of programming is dangerous
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform