InsertFieldChar method

Applies to

Description

Inserts a FieldChar in the collection. The character is inserted in the field value string and set to "certain".

This method is best used when one of these options is selected in the field definition:

Suggested usage is in the FormInterpreted event. In any event, do not use this method before that event has been fired.

Syntax

Object.InsertFieldChar (Index, Value, Top, Left, Bottom, Right)

Part

Data type

Description

Object

Object

An object expression that evaluates to one of these objects.

Index

Integer

Zero-based index of the position where you want the new FieldChar to be inserted in the field’s value string.

Value

Integer

ASCII value for the character.

Top

Integer

Position of the top of the rectangle in pixels.

Left

Integer

Position of the left side of the rectangle in pixels.

Bottom

Integer

Position of the bottom of the rectangle in pixels.

Right

Integer

Position of the right side of the rectangle in pixels.

Settings

Return value

None.

Remarks

This method changes the field value.