JavaScript Editor js editor     Web development 



Main Page

Returns as a string the name of the active menu, or a logical value indicating if a menu has been defined.

POPUP([cMenuName])

Parameters

cMenuName


Returns a logical value indicating if cMenuName has been defined. POPUP(В ) returns true (.T.) if the menu you specify has been defined; otherwise POPUP(В ) returns false (.F.).

Return Value

Character or Logical

Remarks

POPUP(В ) returns the name of the active menu as a character string if you omit the optional cMenuName argument. A menu must be defined and active for POPUP(В ) to return its name. Menus are created and activated with DEFINE POPUP and ACTIVATE POPUP. The menu can also be a Visual FoxPro system menu. POPUP(В ) returns an empty string if a menu isn't defined and active or you issue POPUP(В ) from the Command window.

See Also



JavaScript Editor js editor     Web development