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

MLGrid_SetGridColors

Previous pageReturn to chapter overviewNext page

 

Description

 

Set the color of cells, grid background and grid lines in a grid control

 

Syntax

 

n = MLGrid_SetGridColors(hGrid, CellBKColor, WindowBkColor, CellLineColor)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hGrid

Number

No

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

CellBKColor

Number

No

RGB color for cells background

WindowBkColor

Number

No

RGB color for grid background

CellLineColor

Number

No

RGB color for lines between cells

 

Remarks

 

Restrictions

 

See also

 

Examples