JavaScript Editor js editor     Web development 

Main Page

Specifies the color of the lines separating cells in a Grid control. Available at design time; read/write at run time. There are two versions of the syntax.

Grid.GridLineColor[ = nColor]
Grid.GridLineColor = RGB(nRedValue, nGreenValue, nBlueValue)

Return Value


Specifies a single number to represent the color. By default, GridLineColor is set to 0 (Black).
nRedValue, nGreenValue, nBlueValue

Specifies three separate color intensities that compose the Grid's line color; must be used with the RGB(В ) function to consolidate the three color components into one number, which is what the GridLineColor property is.
the Properties window, you can double-click any of the color properties to display the Color dialog box. You can choose or define colors from this dialog box. The red, green, and blue intensities that correspond to the color you choose become the settings for these properties after you close the Color dialog box.


Applies To: Grid Control

See Also

JavaScript Editor js editor     Web development