ErasePage, ReleaseErase, ReleaseWindows
Here are three properties you might have some difficulty finding in the reference books (except this one, of course) when you have trouble with them in a program. They are used in "READ-compatibility" mode only, and ought to be avoided like the plague.
Usage |
frmForm.ErasePage = lEraseOrNot lEraseOrNot = frmForm.ErasePage frmForm.ReleaseErase = lEraseOnRelease lEraseOnRelease = frmForm.ReleaseErase frmForm.ReleaseWindows = lRelease lRelease = frmForm.ReleaseWindows |
Parameter |
Value |
Meaning |
lEraseOrNot |
Logical |
Determines whether one page is erased when a child READ level is called, or whether the image is preserved for the return from the nested READ. |
lEraseOnRelease |
Logical |
Determines whether a control's image should be saved on the screen after the control has been released or the READ has terminated. |
lRelease |
Logical |
The equivalent to the Release Windows check box in the generator options of converted forms, this determines whether the images of windows are preserved after the READ that created them has been terminated. This trick was used with great success in Y. Alan Griver's "CodeBook" series for FoxPro 2.x, but VFP's event and form models make it unnecessary. |
See Also |