Progress
ADM 2 Reference


createMenuItem (toolbar.p)

Creates a menu item with an ON CHOOSE trigger defined.

Parameters:

INPUT phParent AS HANDLE

Parent frame.

INPUT pcName AS CHARACTER

Name of the item.

INPUT pcCaption AS CHARACTER

Tooltip for the item.

INPUT pcAccelerator AS CHARACTER

Action accelerator.

INPUT plSensitive AS LOGICAL

Whether the item is sensitive.

Returns: HANDLE

Notes: Creates a persistent trigger ON CHOOSE that runs onChoose( pcName ).


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095