Format.Context
Description
- Starts a menu/bar section , or shows a whole bar, depending on the active window.
Syntax
Parameters
- expr
- (mixed) caption list specifying the context for the bar/menu to be displayed
Examples
- *Format Context =metapad
- Used as the first command of a bar, this would make the bar be displayed only when a Metapad window is the activewindow. A closing *Format EndContext command is not required in this situation.
- Used within another menu/bar, this would start a contextual section that is only shown when Metapad is active. In this case, it must be followed by a *Format EndContext command.