Difference between revisions of "PADPROMPT()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Class==
 
Menus
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the prompt text of a pad in a Xbase style menu
 
Function to return the prompt text of a pad in a Xbase style menu
Line 21: Line 17:
 
==Example==
 
==Example==
 
<code lang="recital">
 
<code lang="recital">
?padprompt("SW", "Accounts")
+
? padprompt("SW", "Accounts")
 
Southwest
 
Southwest
 
</code>
 
</code>
Line 27: Line 23:
  
 
==Products==
 
==Products==
Recital Mirage Server, Recital Terminal Developer
+
Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 +
[[Category:Menus]]
 +
[[Category:Menus Functions]]

Latest revision as of 17:34, 3 December 2009

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