FillStyle (Grid)

This property returns and sets a value that determines whether setting the Text property or one of the cell formatting properties of a Grid control applies the change to all selected cells.

Syntax

object.FillStyle[= value]

Parameters

object
Object expression that evaluates to a Grid control.
value
Integer or constant that specifies the fill style. Following are the settings for value:
0
Single (default). Changing Text or any of the cell properties affects only the active cell.
1
Repeat. Changing the Text or any of the cell properties affects all selected cells.

Remarks

The FillStyle property must be set to 1 (Repeat) whenever you want a cell change to apply to all cells.