<<

Contents

Search

>>

 

START_FIELD

 

 

Function

 

 

Syntax:

START_FIELD

 

Meaning:

Starts the field processing of fields created with ADD_FIELD.

 

Windows created by the instruction WINDOW do not have input fields. With the function ADD_FIELD it is possible to create fields for the field processing in a window. The function START_FIELD starts the processing for these fields.

 

In Html Programa START_FIELD has no effect because the field processing is started automatically when the first field is added to a mask by ADD_FIELD.

 

START_FIELD returns the following error codes:

 

0

No error

-1

Runtime error

-99

Window not found

6118

START_FIELD cannot be started on the mask or a mask window.

6119

START_FIELD cannot be executed since no fields have been created for the current window with ADDFIELD.

 

Sample:

/* Create button

B$ = "Button"

H$ = "B|1.5|0|10|2|&&&&&&&&&&|N|N|J|A|N|N|||Button Helptext|S;4;;L;A;N;R"

 

H% = ADD_FIELD("|",H$,B$,,)

IF H% <> 0

THEN ... Error ...

ENDIF

 

/* Start field processing

H% = START_FIELD

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

ADD_FIELD

DEL_FIELD

WINDOW