VLMenuPlus Reference

MethodSetMenuCaptionFont

See Also See Also Applies To Applies To

Sets the default font used for drawing caption of the menu items.

 

Syntax

object.SetMenuCaptionFont(aFont As StdFont)

 

The SetMenuCaptionFont method syntax has these parts:

Part Description
object An object expression that evaluates to an object of VLMenuPlus type.
aFont An object expression that evaluates to an object of StdFont type.

 

Remark

This methos is used typically to change caption font of all the menu items is a single call.

Font information can also be changed for individual menu items in SetMenuItemAttributes event. Changes made in the font setting in SetMenuItemAttributes event through CMenuItem does not affect the font set using this method.