Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To lock screen or not
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01507393
Message ID:
01507401
Vues:
59
>>Hi,
>>
>>When I started developing in VFP (I think around 1998) I read somewhere that it is a good idea to call .LockScreen .T. before calling form.refresh(). So I have in a lot of places in my application call to method Thisform.MyRefresh(). And the code in the MyRefresh() is
>>
>>
>>thisform.Lockscreen = .T.
>>thisform.refresh()
>>thisform.Lockscreen= .F.
>>
>>
>>Does it still make sense to keep this code? Or with the hardware we have today the refresh is just as fast with or without Lockscreen?
>
>I think it's OK to keep this code especially if you have some heavy code in some objects refresh methods. Otherwise you can remove it.

I will have to check if I have any objects with refresh method (can't think of any right off the top). Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform