Difference between revisions of "BARCOUNT()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
==Purpose== | ==Purpose== | ||
Function to return the number of bars in a pop-up Xbase style menu | Function to return the number of bars in a pop-up Xbase style menu | ||
Line 34: | Line 30: | ||
==Products== | ==Products== | ||
− | Recital | + | Recital |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Menus]] | ||
+ | [[Category:Menus Functions]] |
Latest revision as of 16:04, 26 November 2009
Purpose
Function to return the number of bars in a pop-up Xbase style menu
Syntax
BARCOUNT([<expC>])
See Also
ACTIVATE POPUP, BAR(), BARPROMPT(), 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 BARCOUNT() function returns the number of defined bars in a pop-up Xbase style menu. These types of menus are created with the DEFINE POPUP and DEFINE BAR commands. The BARCOUNT() function returns the number of bars in the currently active pop-up. The optional <expC> allows the BARCOUNT() function to operate on the named defined pop-up.
Example
define menu main message "Welcome to the Main Menu" define pad view; prompt "View"; at 0,7; message str(barcount() + " ways to view records.",3) define pad custom; prompt "Customize"; at 0,18; message str(barcount() + " ways to customize the work surface.",3)
Products
Recital