VLMenuPlus Reference

MethodSetMenuShortcutFont

See Also See Also Applies To Applies To

Sets the default font used for drawing shortcut text of the menu items.

 

Syntax

object.SetMenuShortcutFont(aFont As StdFont)

 

The SetMenuShortCutFont 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 menuitems 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.