<<

Contents

Search

>>

 

RESET_IMAGE

 

 

Function

 

 

Syntax:

RESET_IMAGE(<Mask Field>[,<Handle>])

 

<Mask Field>

= #<MASK NUMBER>.#<MASK FIELD VARIABLE>

<Handle>

= <NUM-EXPRESSION>

 

Meaning:

Restores the original image attributes of buttons and checkboxes.

 

RESET_IMAGE resets the image attributes of buttons and checkboxes to the state specified with Field Attributes.

 

RESET_IMAGE returns the following results:

 

0: no error

-1: Mask field not found

-99: Window not found

 

Parameter:

Mask Field

Mask field whose image attributes shall be reset.

Handle

Window depth or handle of a split window or handle of a WINDOWCALL Window

 

Sample:

H% = RESET_IMAGE(#5.#BUTTON_1$)

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

CHANGE_IMAGE