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.comICQ #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.