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

MLGrid_Sheet_Add

Previous pageReturn to chapter overviewNext page

 

Description

 

Set selected cell in a grid control

 

Syntax

 

n = MLGrid_Sheet_Add(hGrid, SheetName [, KeepRowSetup [, KeepColSetup]])

 

Returns

 

Number: the new sheet number

 

Parameters

 

Name

Type

Optional

Meaning

hGrid

Number

No

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

SheetName

String

No

Name of the sheet that will be visible in sheet tab

KeepRowSetup

Number

Yes

If %TRUE, current sheet rows setup will be copied into the new sheet

KeepColSetup

Number

Yes

If %TRUE, current sheet columns setup will be copied into the new sheet

 

Remarks

 

Restrictions

 

See also

 

Examples