Returns or sets a value that determines whether or not the font is strikethrough.
Object.Strikethrough [ = bStrikeThrough ]
The Strikethrough property syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AFont |
AFont object |
|
bStrikeThrough |
Bool |
A boolean expression that specifies whether or not the font is struckthrough. |
bStrikeThrough can be one of the following:
|
Value |
Description |
|
True |
The font is struckthrough. |
|
False * |
The font is not struckthrough. |
The following statement changes the font of the caption property of a button object to be Strikethrough:
btn1.Caption.Strikethrough=True
The following statement changes the font of a declared variable m_font1 of type font to be Strikethrough:
m_font1.Strikethrough=True