Clear
This simplest of the Clear commands erases a window or clears the main screen. Usage | CLEAR |
If you use the Picture property of _SCREEN to create a backdrop for your application, like the background-tiled images on the Web, you may find that after a while, the top quarter or fifth of the screen stops clearing correctly and starts accumulating bitmap garbage. Force the screen to clear with: LOCAL llLockScreen, lcPicture llLockScreen = _SCREEN.LockScreen _Screen.LockScreen = .T. lcPicture =_SCREEN.Picture _SCREEN.Picture="" _SCREEN.Picture =lcPicture _Screen.LockScreen = llLockScreen |
Example | ACTIVATE SCREEN CLEAR |
See Also | Cls, Refresh, RemoveObject |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.