<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > MLGrid Control > MLGrid Control Commands > MLGrid_SetGridColors |
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