Difference between revisions of "BARPROMPT()"

From Recital Documentation Wiki
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Menus
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to return the prompt text of a bar in a pop-up Xbase style menu
 
Function to return the prompt text of a bar in a pop-up Xbase style menu
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]]
 
[[Category:Menus Functions]]
 
[[Category:Menus Functions]]

Latest revision as of 16:04, 26 November 2009

Purpose

Function to return the prompt text of a bar in a pop-up Xbase style menu


Syntax

BARPROMPT(<expN>[,<expC>])


See Also

ACTIVATE POPUP, BAR(), BARCOUNT(), DEFINE BAR, DEFINE MENU, DEFINE POPUP, MENU(), MENUITEM(), ON BAR, ON EXIT BAR, ON EXIT MENU, ON EXIT POPUP, ON POPUP, ON SELECTION BAR, ON SELECTION MENU, ON SELECTION POPUP, PAD(), POPUP(), PROMPT(), SET COMPATIBLE


Description

The BARPROMPT() function returns the text associated with the prompt qualifier in a menu bar in a pop-up dBASE style menu. These types of menus are created with the DEFINE POPUP and DEFINE BAR commands. The bar is identified by the number that was assigned to it with the DEFINE BAR command, or with the DEFINE POPUP...PROMPT FIELD | PROMPT FILES | PROMPT STRUCTURE command. The BARPROMPT() works on the active pop-up menu unless another pop-up is specified with the optional character expression <expC>.


Example

?barprompt(4, "Accounts")
Kramer


Products

Recital