Table of Contents

INSERT message

Description

Inserts new row or rows (for edit box and edit line, replaces selection).

Applies To

Combo box, edit box, edit line, edit table, and list box.

Syntax

insertedposition = Send_Message(controlID, "INSERT", rowindex, inserttext)

Parameters

Parameters are as follows.

ParameterDescription
RowindexPosition of row in the edit table display. This is not an OpenInsight row key.

Use 1 to specify the first row, and use -1 to specify the last row.

Not used for edit box and edit line controls.
InserttextText to be inserted. @VM-delimited by columns (for edit table). @FM-delimited by row (for edit table and list box).

Returns

The position of the inserted row.