Set Column Editable - GRID SENDMSG() Function 106

Syntax

TF$=sendmsg(sysgui,id,106,column,edit${,context{,ERR=lineref}})

Description

This function sets the default edit ability for a column in the main grid.

If the cell style is either InputE, InputN or Text field, then the ability for the user to edit the text in the cell will be set. If the cell style is either Checkbox or Button, then the ability for the user to toggle the state (checked/unchecked) of the cell will be set.

Parameter

Description

sysgui

SYSGUI channel.

id

Grid control ID.

106

Number of this SENDMSG() function.

column

Number of the column for which to set edit capabilities. (Column numbering is zero-based.)

edit$

Edit capability:

$00$ = not editable

$01$ = editable

The return value is a one-byte string that indicates the success or failure of an operation; $01$ indicates success, $00$ indicates failure.