BARPROMPT()

From Recital Documentation Wiki
Revision as of 16:04, 26 November 2009 by Helengeorge (Talk | contribs)

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

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