PADPROMPT()

From Recital Documentation Wiki
Revision as of 10:31, 23 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Class

Menus


Purpose

Function to return the prompt text of a pad in a Xbase style menu


Syntax

PADPROMPT(<expC1> [,<expC2>])


See Also

ACTIVATE MENU, DEACTIVATE MENU, DEFINE MENU, DEFINE PAD, ON PAD, ON SELECTION PAD


Description

The PADPROMPT() function returns the text associated with a menu bar in a pop-up Xbase style menu. These menus are created with the DEFINE MENU and DEFINE PAD commands. The pad is identified by <expC1> which represents the name that was assigned with the DEFINE PAD...PROMPT <expC> command. The PADPROMPT() function works on the active menu unless another menu is specified with the optional character expression <expC2>.


Example

?padprompt("SW", "Accounts")
Southwest


Products

Recital Mirage Server, Recital Terminal Developer