BiMenuBar
This class is used to display a menu bar
This class extends BiComponent and therefore all methods and fields available for BiComponent are also available for BiMenuBar .
Constructor
new BiMenuBar ( )
Parameters
No parameters.
Properties
None.
Methods
| Name | Description |
showMenuByMnemonic | Finds the menu button matching a mnemonic and displays its menu. Returns true if a button with a menu was found and displayed. |
Events
None.
Static Methods
None.
Static Fields
None.
Remarks
Do not add any objects except BiMenuButton to the menu bar. Adding an object that does not derive from BiMenuButton might give unexpected results.
Method Details
showMenuByMnemonic
Finds the menu button matching a mnemonic and displays its menu. Returns true if a button with a menu was found and displayed.
Syntax
object.showMenuByMnemonic ( sKey ) Parameters
| Name | Type | Optional | Default | Descripton |
sKey | String | The keyboard character that was pressed. |
Return Type
Boolean