Click or drag to resize

Window.Background Property

X#
The background brush currently in use by this window.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY Background AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
The background brush currently in use by this window.
Remarks
The background brush currently in use by this window. A window's background brush is used by CanvasErase() and in handling Expose events. Assigning a new background brush has no effect until the window (or portion of the window) is redrawn. If a window was partially covered and is then fully exposed, only the covered part of the window is redrawn and only that part gets the new background. This related example will change the background color of an application's main window, and would typically occur in the main Initialize() method:
X#
1oWin:oColour := Color{164,255,164}
2// app background set to light green
3oWin:ShellWithColourOnly()
See Also