Difference between revisions of "PADPROMPT()"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 30: Line 30:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Menus]]
 +
[[Category:Menus Functions]]

Revision as of 16:12, 2 June 2009

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