Share via


FillStyle Property (ModHFGrid)

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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 ModHFGrid.

Syntax

object.FillStyle [= value]

The FillStyle property syntax has these parts:

Part Description
object An object expression that evaluates to the ModHFGrid Control object.
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 ModHFGrid.

Example

The following code makes it possible for you to format individual cells differently.

Sub Form1_Load () 
   ModHFGrid1.FillStyle = 0
End Sub

See Also

CellAlignment Property (ModHFGrid) | CellBackColor, CellForeColor Properties (ModHFGrid) | CellFontBold Property (ModHFGrid) | CellFontItalic Property (ModHFGrid) | CellFontName Property (ModHFGrid) | CellFontSize Property (ModHFGrid) | CellFontWidth Property (ModHFGrid) | CellPicture Property (ModHFGrid) | CellPictureAlignment Property (ModHFGrid) | CellTextStyle Property (ModHFGrid) | Text Property (ModHFGrid) | ModHFGrid Control