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

PD_BECOME( aMenus, cColorStr )

Purpose

Creates and returns a "menu object" for use by PD_MENU().

Arguments

     cMenus -- an array of menu objects to be added to the master menu.
                   Each menu object is created with a call to PD_CREATE().

     cColorStr -- an optional string containing a colour specification.
                      If not passed, the current colour setting is used.

Example

Assuming the existence of two menu objects aFileMenu and aEditMenu...


     LOCAL aPullDown := ;
           PD_BECOME( { aFileMenu, aEditMenu... } )

Returns

An array which acts as a "submenu object". In itself the submenu object is
useless: it must be added to a menu.

Side Effects

The menu object must be correctly structured or the function will crash.

Artful Calls

None.

Source File

AA_PDMNU.PRG

See Also: PD_CREATE() PD_MENU()

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