Set Cell Editable - GRID SENDMSG() Function 107
Syntax
TF$=sendmsg(sysgui,id,107,column,edit${,context{,ERR=lineref}})
Description
This function sets the edit ability on cell at current row and given column on a standard (non data-aware) 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.
This function will generate an !ERROR 17 on a data-aware grid. Editing of data-aware grids can be controlled by grid or column only.
Parameter |
Description |
sysgui |
SYSGUI channel. |
id |
Grid control ID. |
107 |
Number of this SENDMSG() function. |
column |
Number of the column containing the cell to be edited. (Column numbering is zero-based.) |
edit$ |
Edit capability: |
The return value is a one-byte string that indicates the success or failure of an operation; $01$ indicates success, $00$ indicates failure.