Adobe FrameMaker-10 Object Model JS: Menu

Framemaker 2010

Class

Menu

 

QuickLinks

AddMenuToMenu, AnimateMenu, DefineAndAddMenu, Delete, Delete, GetProps, MenuItemInMenu, ObjectValid, SetProps

Properties

PropertyTypeAccessDescription
FirstMenuItemInMenuFMObject readwrite
Labelstring readwrite
MenuItemIsEnabledint readonly
MenuTypeint readonly
Namestring readonly
NextMenuItemInMenuFMObject readwrite
NextMenuItemInSessionFMObject readonly
PrevMenuItemInMenuFMObject readwrite

Methods

Instances

int AddMenuToMenu (menu: Menu)

ParameterTypeDescription
menuMenu

int AnimateMenu (menuitem: MenuItemComponent, sleep: int, realLabel: string, docOrBook: MenuItemComponent, action: bool)

ParameterTypeDescription
menuitemMenuItemComponent
sleepint
realLabelstring
docOrBookMenuItemComponent
actionbool

void DefineAndAddMenu (name: string, label: string)

ParameterTypeDescription
namestring
labelstring

int Delete ()

int Delete ()

PropVals GetProps ()

void MenuItemInMenu (menuitem: MenuItemComponent, recursive: bool)

ParameterTypeDescription
menuitemMenuItemComponent
recursivebool

int ObjectValid ()

void SetProps (setVal: PropVals)

ParameterTypeDescription
setValPropVals

Element of

Doc.MenuBar

Doc.ViewOnlyMenuBar

Used in:

int Menu.AddMenuToMenu (menu: Menu)

Jongware, 31-Oct-2011 v3.0.3fContents :: Index