DRAWMODE

Top  Previous  Next

Syntax

DRAWMODE(win as WINDOW,mode as INT)

Description

Sets the background fill mode. The background mode defines whether the system removes existing background colors on the drawing surface before drawing text or any non-solid line.  Mode is either @TRANSPARENT or @OPAQUE

Parameters

win - The window to change drawing modes.

mode - The new drawing mode.

Return value

None

Remarks

@OPAQUE Background is filled with the current background color before the text or line is drawn. This is the default background mode.

@TRANSPARENT Background is not changed before drawing

Example usage

DRAWMODE mywnd, @TRANSPARENT