<<

Contents

Search

>>

 

MOVE_FIELD

 

 

Function

 

 

Syntax:

MOVE_FIELD(<Mask Field>,<Row>,<Column><Height>,<Width>[,<Handle>])

 

<Mask Field>

= <MASK FIELD>

<Row>

= <NUM-EXPRESSION>

<Column>

= <NUM-EXPRESSION>

<Height>

= <NUM-EXPRESSION>

<Width>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

MOVE_FIELD moves a field on a mask and/or changes the size of a mask field.

 

<Handle> specifies which window contains the edit field. <Handle> can contain the window depth or the identification number of a split window or a WINDOWCALL window. If the parameter <Handle> is missing, the edit field must be on the current mask.

 

APPEND_TEXT returns the following values:

0: The function was successful.

-1: The <Mask Field> does not exist.

 

Parameter:

Mask Field

Mask field

 

Row

If <Row> >= 0 the mask field is moved to <Row>.

 

Column

If <Column> >= 0 the mask field is moved to <Column>.

 

Height

If <Height> > 0 the height of the mask field is changed.

 

Width

If <Width> > 0 the width of the mask field is changed.

 

Handle

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

 

Sample:

// Move mask field #5.#EDIT$ to position 5,10, do not change the size

H% = MOVE_WINDOW(#5.#EDIT$,5,10,0,0)

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

ADD_FIELD

DEL_FIELD

MOVE_WINDOW