Share via


CellFontStrikeThrough 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 if the strikethrough style is applied to the current cell text.

Syntax

object.CellFontStrikeThrough =[Boolean]

The CellFontStrikeThrough property syntax has these parts:

Part Description
object An object expression that evaluates to the ModHFGrid Control object.
Boolean A Boolean expression that specifies if the strikethrough style is applied to the cell text.

Settings

The settings for Boolean are:

Setting Description
True The strikethrough style is applied to the cell text.
False Default. The strikethrough style is not applied to the cell text.

Remarks

Changing the CellFontStrikeThrough property affects the current cell or the current selection, depending on the setting of the FillStyle property.

Example

The following code sets the text of the current cell to the strikethrough style whenever the ModHFGrid is in focus.

Sub ModHFGrid1_GotFocus 
   ModHFGrid1.CellFontStrikeThrough =1
End Sub

See Also

CellFontUnderline Property (ModHFGrid) | ModHFGrid Control