Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lockscreen and checkbox
Message
 
 
À
15/12/2000 09:17:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00453892
Message ID:
00453924
Vues:
18
Its depended on what you want. If you have many checkboxes, but they do the similar job, it is good reason to make checkbox class and put common functionality into that class, so, for example, you will not write the same code for each checkbox.

In addition, lockscreen does nothing with refreshing, it does not refresh values of controls. Form.Refresh refreshes every control and subcontrols of containers on form.

Lockscreen just helps to prevent screen flicker when making complex visual changes. Make all refreshes after lockscreen = .T., than lockscreen = .F. shows all changes at once. Seems it is not needed when you refresh just textboxes.

>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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform