Using the Tab Style Page Templates > Tab Style Template Reference > Tab Style Template Functions > PageDspConfigMenu

PageDspConfigMenu

Displays a pop-up menu. The contents of the menu are defined in the Menu configuration under the specified page name and menu name (Level 1) field.

Note: If localization syntax, that is, @ (<Name>)is used in the page name or menu name field of your menu configuration record. You need to pass the exact string to this function to retrieve the menu.

Syntax

PageDspConfigMenu(sPageName, sMenuName [, iXPos [, iYPos]])

sPageName

The page name of the menu to be found in the menu configuration database

sMenuName

The menu name (Level 1) to be found in the menu configuration database

iXPos

The x position (relative to origin of the page) when the menu pops up. Do not specify or set this argument to -1 to show menu at mouse pointer.

iYPos

The y position (relative to origin of the page) when the menu pops up. Do not specify or set this argument to -1 to show menu at mouse pointer.

Return Value

Zero (0) if function is executed successfully, otherwise error code is returned.

Related Functions

PageGetConfigMenuHnd, DspPopupConfigMenu

See Also

Tab Template Functions