CLEAR Mnemonic - Clear Drawn SYSGUI Objects

Syntax

'CLEAR'
'CLEAR'(colornum)
'CLEAR'("colorname")
'CLEAR'(red_val,green_val,blue_val)

Description

The 'CLEAR' mnemonic erases all drawn objects from the window in the current context and covers the window (except any visible controls or child windows) with the specified color.

Parameter

Description

No parameter

Clear the window to its current background color.

colornum

Clears the color number.

"colorname"

Clears the name of the color.

red_val,green_val,blue_val

Clears the RGB value.

 

Color

Number

BLACK

0

BLUE

1

RED

2

MAGENTA

3

GREEN

4

CYAN

5

YELLOW

6

WHITE

7

DKGRAY

8

GRAY

9

LTGRAY

10

An !ERROR=29 is returned if the colornum or RGB parameters are out of range or the entry in colornum does not evaluate to one of the specified strings.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing