Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

MENU_ORD( [ aArray[, nRow ]] )

Purpose

Presents a pulldown menu of the inkey orders available, allowing the
user to alter the active index.

Arguments

     aArray -- if passed, array of index key descriptions; if not
                   passed, looks in the dictionary if available, else
                   generates them based on the actual index keys

     nRow -- if passed, row on which to begin menu

Setup

None required. Pass array of descriptions for elegance.

Example

     LOCAL descs := { "Name", "Company", "Account #" }
     CHK_DICT( "AAI_DICT" )
     SELECT CUSTOMER
     ? MENU_ORD( descs )

Returns

0 if exit, 1 if record number order, n+1 if nth index.

Side Effects

Changes the perceived order for subsequent processing.

Artful Calls

XCOUNT.

Source File

AA_MNORD.PRG

See Also: MASK_FOR() XCOUNT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson