Explanation & Usage of the LOCKSCREEN PropertyID: Q129413 3.00 WINDOWS kbprg The information in this article applies to:
SUMMARYVisual FoxPro forms support a special form property called LOCKSCREEN. This property is used to govern the behavior of a screen including how and when it updates when an event such as a color change occurs.
MORE INFORMATIONThe LOCKSCREEN property is explained as follows in the online Help:
The LOCKSCREEN property is found on the Layout tab of the Form Properties
sheet. As noted, the default for this property is false, which means that
as soon as a change is made to a form or its objects, as in the following,
the change will be immediately reflected on the form:
Form1.BackColor=RGB(150,0,200) If the LOCKSCREEN property is set to true, the previous command will not be reflected until such time as you issue a command like this: FORM1.REFRESH -or- FORM1.PAINT The key advantage to you as a programmer is that you can make a series of changes to an object such as a screen without having each item flicker and update to reflect the new changes you've made. Instead, you can turn this property off, make your changes, and then force a refresh of the screen for a much crisper and more professional appearance. Additional reference words: 3.00 VFoxWin Screen Update Refresh KBCategory: kbprg KBSubcategory: FxprgGeneral
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |