GRID Control SENDMSG() Functions

The SENDMSG() function is used to query and manipulate grid controls. The following is the standard syntax for SENDMSG() as used with the grid control:

Syntax

RESULT$=SENDMSG(sysgui,id,function,int,str${,context{,ERR=lineref}})

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

function

An integer representing a specific function (described below).

int

Integer argument. May be zero or some other value depending on the specific function.

str$

String argument. May be null or not depending on the specific function.

Many grid SENDMSG() functions return a one-character string to indicate the success or failure of the operation: $01$ indicates success, $00$ indicates failure. Other functions return null strings or binary data.

SENDMSG() functions are listed in alphabetical , numerical, and by functional grouping.