EraseField (XPos as Integer, YPos as Integer, Width as Integer, Height as Integer, PageNo as Integer) as Integer

Application object (Manager)

This method erases the specified area on the form definition. It works the same as Field ð Erase.

Parameters

Parameter

Description

XPos and YPos

Specifies the position of the upper left corner of the field in pixels.

Width and Height

Specifies the width and height of the field, in pixels.

PageNo

Specifies whether the field is on the front or the back of a form.
0 = Front page
1 = Back page

Return values

Return value

Description

0

OK.

-1

The specified area overlaps another defined field.

-2, -3, -4

Internal error.

DeleteField

Methods for the Application object for use with the Manager