PreFab...Player...Documentation...Frontier...User's Guide...Chapter 5, Verbs...One Verb Per Page...

Player.getMenuInfo


Syntax

Player.getMenuInfo(menu)

Player.getMenuInfo(menu, item)

Player.getMenuInfo(menu, submenu)

Player.getMenuInfo(menu, submenu, item)


Parameters

menu is either a name or position number.

submenu is either a name or position number.

item is either a name or position number.


Action

Gets a complete set of attributes for the indicated menu, submenu or item.


Returns

A record.


Examples

Player.getMenuInfo("Graphics") « a menu
Player.getMenuInfo("Graphics", "Grid On") « a menu item OR submenu
Player.getMenuInfo("Graphics", "Alignment") « a menu item OR submenu
Player.getMenuInfo("Graphics", "Alignment", "Center") « a hierarchical menu item


Errors

Menu or item does not exist or is not enabled; menubar is not available.


Notes



See Also

Player.getMenuAttribute
Player.menuExists
Player.popupExists
Player.getItemInfo
Player.getWindowInfo
Player.setCompleteMatch
Player.outlineMenus


Keywords

query[8] menus

| Top |


getMenuAttribute| Prev | Home | Next |getWindowAttribute

Updated on 2/5/97 by Scott S. Lawton (ssl@prefab.com)

Copyright 1993-99, PreFab Software, Inc. All Rights Reserved.

This site built and maintained using Stage Three, a set of custom Frontier scripts.