Working with IGraphicPushButton Parts

The following tasks are associated with using an IGraphicPushButton* part in visual composition. Tasks that are common to many parts are described in related topics.

Assigning a bitmap
To assign a bitmap to the graphic button, set the resourceId property in the IGraphicPushButton* property sheet. In the Resource Id prompter property window, specify a bitmap resource by setting the following fields:

Calling an action from a button
To start the action represented by the button, connect the IGraphicPushButton* buttonClickEvent feature to the action on the target part.


Related procedures
Common Tasks for Control Parts
Setting Part Style Properties
Setting Part Color Properties
Setting Part Font Properties
Setting Part Handlers Properties
Setting Part Framing Properties
Working with VisualAge User Interface Parts

Related references
IGraphicPushButton
Property Settings -- IGraphicPushButton
Portability -- IGraphicPushButton