BBjSysGui::getPopupMenu

Description

In BBj 8.0 and higher, this method returns a BBjPopupMenu associated with the specified ID.

Syntax

Return Value

Method

BBjPopupMenu

getPopupMenu(int ID)

Parameters

Variable

Description

ID

Specifies the ID of a previously created BBjPopupMenu.

Return Value

Returns the BBjPopupMenu object associated with the specified ID.

Remarks

See STBL Formats - BBj for !COMPAT flag LEGACY_POPUP_IDS.

Example

SYSGUI = UNT
open(SYSGUI)"X0"
declare BBjSysGui sg!
sg! = BBjAPI().getSysGui()
pup! = sg!.addPopupMenu()
samepup! = sg!.getPopupMenu(pup!.getID())
? samepup!

See Also

BBjAPI

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.