method InputGrid(ControlName: String, Prompt: String, Table: Object[, Height: Number, Width: Number])
Define a grid control on a scripted form that allows viewing and editing of data in a predefined table. Returns the grid object created so that further grid properties can be manipulated.
InputGrid method syntax has these named arguments:
Parameter |
Description |
|---|---|
Control Name |
Required. Name of the control. Must be a valid MaxBasic identifier. |
Prompt |
Required. Prompt text to display to left of the control. |
Table |
Required. Dataset object to use to provide storage for the grid control. |
Height |
Optional. Height in pixels of the grid control, defaults to 100. |
Width |
Optional. Width in pixels of the grid control, defaults to 300. |