MLGrid_Sheet_Add

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > MLGrid Control > MLGrid Control Commands >

MLGrid_Sheet_Add

 

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