Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To lock screen or not
Message
De
15/04/2011 10:32:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01507393
Message ID:
01507473
Vues:
63
>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform