Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lockscreen-problems
Message
De
30/11/1997 06:08:50
 
 
À
31/10/1997 10:54:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00057600
Message ID:
00062909
Vues:
37
>There is something strange in the form.lockscreen. I have a form and two commandbuttons calling two child forms. First commandbutton has a "thisform.lockscreen=.T." before calling a child form and after the related "thisform.lockscreen=.F." Second commandbutton calls directly the second child form. Well, if I open and close the second child form, this disappears with an annoying refresh; it seems a very long refresh. If I open and close the first child form (with the lockscreen) it disappears faster, but not so fast as the messagebox window. This happens every time I open and close that child window. Now, if I open and close again the second child form, it disappears very, very fast, fast as the messagebox window. This happens only if I have opened and closed the first child form. When I return to the main form after calling a child form with the lockscreen=.T., the commandbuttons are strange. Its do not go down when pressed! Is there somebody who knows the answer to this problem?
>Sorry for my english!

Finally I found the way to improve the form refresh when released!
1) In the deactivate event of the calling form:
"thisform.lockscreen=.T."
2) In the activate event of the child form:
"callingform.lockscreen=.F."
Pay attention to put in every child form this code, otherwise the child form will not disappear.
In this way the child form disappearence is speed as the '=messagebox()': this is more evindent when you have two forms with different backcolor.
One question is left: why the commandbutton of a calling form do not go down when pressed?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform