property Item.Bold as Boolean
Specifies whether the item's caption should appear in bold.

TypeDescription
Boolean A boolean expression that specifies whether the item's caption should appear in bold.

Use the Bold, Italic, Underline and Strikeout properties to customize the font attribute for any menu item. Use the <b> HTML tag in the Caption property to specify that parts of the caption should appear in bold. Use the Font property to specify the control's font.

The following VB sample bolds the item with the identifier 50:

With ExMenu1.Item(50)
    .Bold = True
End With

The following C++ sample bolds the item with the identifier 50:

CItem item = m_menu.GetItem( COleVariant( long( 50 ) ) );
item.SetBold( TRUE );

The following VB.NET sample bolds the item with the identifier 50:

With AxExMenu1.item(50)
    .Bold = True
End With

The following C# sample bolds the item with the identifier 50:

EXMENULib.item item = axExMenu1[50];
item.Bold = true;

The following VFP sample bolds the item with the identifier 50:

With thisform.ExMenu1.Item(50)
	.Bold = .t.
EndWith