Menu
QuickLinks
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| FirstMenuItemInMenu | FMObject | readwrite | |
| Label | string | readwrite | |
| MenuItemIsEnabled | int | readonly | |
| MenuType | int | readonly | |
| Name | string | readonly | |
| NextMenuItemInMenu | FMObject | readwrite | |
| NextMenuItemInSession | FMObject | readonly | |
| PrevMenuItemInMenu | FMObject | readwrite |
Methods
Instances
number AddCommandToMenu (command: Command)
| Parameter | Type | Description |
|---|---|---|
| command | Command |
int AddMenuToMenu (menu: Menu)
| Parameter | Type | Description |
|---|---|---|
| menu | Menu |
int AnimateMenu (menuitem: Object, sleep: int, realLabel: string, docOrBook: Object, action: bool)
| Parameter | Type | Description |
|---|---|---|
| menuitem | Object | |
| sleep | int | |
| realLabel | string | |
| docOrBook | Object | |
| action | bool |
Command DefineAndAddCommand (cmdNum: number, name: string, label: string, shortcut: string)
| Parameter | Type | Description |
|---|---|---|
| cmdNum | number | |
| name | string | |
| label | string | |
| shortcut | string |
Menu DefineAndAddMenu (name: string, label: string)
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| label | string |
PropVals GetProps ()
Menu MenuItemInMenu (menuitem: MenuItemComponent, recursive: bool)
| Parameter | Type | Description |
|---|---|---|
| menuitem | MenuItemComponent | |
| recursive | bool |
void SetProps (setVal: PropVals)
| Parameter | Type | Description |
|---|---|---|
| setVal | PropVals |
Element of
Doc.MenuBar
Doc.ViewOnlyMenuBar
Used in:
int Menu.AddMenuToMenu (menu: Menu)
Return
Menu Globals.DefineMenu (name: string, label: string)
Menu Menu.DefineAndAddMenu (name: string, label: string)
Menu Menu.MenuItemInMenu (menuitem: MenuItemComponent, recursive: bool)
Menu app.GetNamedMenu (name: string)
Menu app.NewNamedMenu (name: string)
| Jongware, 18-Jan-2015 v1.0 | Contents :: Index |