Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > MLGrid Control >

MLGrid_Put

Previous pageReturn to chapter overviewNext page

 

Description

 

Change a cell's string content.

Also used to change row or column heading text.

 

Syntax

 

n = MLGrid_Put(hGrid, lRow, lCol, StringValue [, Refresh [, Sheet]])

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hGrid

Number

No

handle to grid control, the one returned by CONTROL ADD MLGRID ...

lRow

Number

No

row number

lCol

Number

No

column number

StringValue

String

No

String data to put into the cell

Refresh

Number

Yes

%TRUE or %FALSE in order to refresh grid after operation

Sheet

Number

Yes

number of the sheet in a multi workbook. Selected sheet is used if omitted

 

Remarks

 

To change column heading text, indicate 0 (Zero) in lRow field.

To change row heading text, indicate 0 (Zero) in lCol field.

 

Restrictions

 

See also

 

Examples