Progress
ADM 2 Reference


createButton (toolbar.p)

Creates a tool button in the toolbar.

Parameters:

INPUT phParent AS HANDLE

Parent frame.

INPUT-OUTPUT piX AS INTEGER

In X position - out X + height-p.

INPUT pcName AS CHARACTER

The name of the button.

INPUT pcLabel AS CHARACTER

The label of the button.

INPUT pcCaption AS CHARACTER

The caption of the button.

IONPUT pcBitmap AS CHARACTER

The bitmap of the button.

INPUT plSensitive AS LOGICAL

Whether the button 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