Visual Basic: MSFlexGrid/MSHFlexGrid Controls

Visual Studio 6.0

FillStyle Property (MSHFlexGrid)

See Also    Example    Applies To

Returns or sets a value that determines whether setting the Text property, or one of the cell formatting properties, applies the change to all selected cells within the MSHFlexGrid.

Syntax

object.FillStyle [= value]

The FillStyle property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An integer or constant that specifies the fill style, as described in Settings.

Settings

The settings for value are:

Constant Value Description
flexFillSingle 0 Single. Changing Text or any of the cell properties only affects the active cell. This is the default.
flexFillRepeat 1 Repeat. Changing Text or any of the cell properties affects all selected cells.

Remarks

This property must be set to 1 (Repeat) whenever you want a cell change to apply to all cells within the MSHFlexGrid.

Show: