Type | Description | |||
Boolean | A boolean expression that specifies whether the item's caption should appear in strikeout. |
Use the Bold, Italic, Underline and Strikeout properties to customize the font attribute for any menu item. Use the <s> HTML tag in the Caption property to specify that parts of the caption should appear in strikeout. Use the Font property to specify the control's font.
The following VB sample makes strikeout the item with the identifier 50:
With ExMenu1.Item(50) .Strikeout = True End With
The following C++ sample makes strikeout the item with the identifier 50:
CItem item = m_menu.GetItem( COleVariant( long( 50 ) ) ); item.SetStrikeout( TRUE );
The following VB.NET sample makes strikeout the item with the identifier 50:
With AxExMenu1.item(50) .Strikeout = True End With
The following C# sample makes strikeout the item with the identifier 50:
EXMENULib.item item = axExMenu1[50]; item.Strikeout = true;
The following VFP sample makes strikeout the item with the identifier 50:
With thisform.ExMenu1.Item(50) .Strikeout = .t. EndWith