Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lockscreen and checkbox
Message
De
17/12/2000 05:56:33
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00453892
Message ID:
00454474
Vues:
23
>>>>If I put lockscreen=.T. (and then =.F.) my checkbox do not refresh. I must
>>>>refresh with code in the interactivechange event. I have many checkbox in the form: is there a trick to avoid so many refresh? (VFP 5.0)
>>>>Thanx
>>>
>>>Where are you putting the lockscreen code? A code snippet would also help.
>
>>In the deactivate and in the activate event of the main form
>
>Waht are you doing in the activate that would require you to issue a LOCKSCREEN? In my form activate, I issue a This.Refresh() near the end of all code. Do you also have code in the InterActiveChange of the checkbox other than a Refresh command? If so, do you also have a DODEFAULT() command? The main point is that issuing a LockScreen has nothing to do with the value status of a checkbox. There is something else causing your problem.
Mark,
I put lockscreen=.T. in the deactivate event and lockscreen=.F. in the activate event of the main form to avoid the flicker screen when, called a child form, you return to the main form: the noise is visible expecially when the child form
has a different backcolor. If I put that code I do not have the noise. This code, instead, has to do with the refreshing of the checkbox: you're right when you say that the code does not change the value status of a checkbox, but the user see the value change only when the focus is on another object. To let the user see the value change immediately, when he clicks on the checkbox, I must put in the interactivechange of the checkbox the code 'this.refresh'. If you have many checkbox, as I have....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform