Instance Method

setSelectedItem

Sets the focus in a menu bar to the specified menu item.

Declaration

void setSelectedItem(in Object menuItem);

Parameters

menuItem

The menu item to be in focus.

See Also

Setting and Retrieving Menu Item Documents

getDocument

Retrieves the document associated with the specified menu item.

getSelectedItem

Retrieves the menu item in the menu bar that is currently in focus.

setDocument

Associates a document with a menu item.