Progress
ADM 2 Reference


createMenuToggle (toolbar.p)

Creates a menu item that is toggled with an ON CHOOSE trigger.

Parameters:

INPUT phParent AS HANDLE

Parent frame.

INPUT pcName AS CHARACTER

The name of the button.

INPUT pcCaption AS CHARACTER

The tooltip of the button.

INPUT pcAccelerator AS CHARACTER

Action accelerator.

INPUT plSensitive AS LOGICAL

Whether the item should be sensitive.

Returns: HANDLE

Notes: Creates a persistent ON VALUE-CHANGED trigger that runs onValueChanged(pcName).


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