FillStyle Property

Returns or sets whether changes to the Text or Format properties apply to the current cell or to the entire selection.

Syntax

[form!]VSFlexGrid.FillStyle[ = FillStyleSettings ]

Remarks

The settings for the FillStyle property are described below:

 

Constant

Value

Description

flexFillSingle

0

Setting the Text property or any of the cell formatting properties affects the current cell only.

flexFillRepeat

1

Setting the Text property or any of the cell formatting properties affects the entire selected range.

 

The FillStyle property also determines whether changes caused by in-cell editing should apply to the current cell only or to the entire selection.

Note

The FillStyle property does not work over discontinuous selections if the SelectionMode property is set to flexSelectionListBox. For example, if you select rows 1, 4, and 10, only the selection that contains the current cell will be modified.

Data Type

FillStyleSettings (Enumeration)

Default Value

flexFillSingle (0)

See Also

VSFlexGrid Control