[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.12.5.2 Command Button

A command button's type is "Command Button".

Signals

Command buttons send the following signals.

signalCmdButtonClicked
Occurs when the user clicks a mouse button on the component.

Properties

Command buttons publish the following properties.

Caption
Used to change the text on the button.

Frame Styles

Command buttons may be configured to display the following frame styles.

bfsNormal
A normal frame with text, a 3D border, and an optional image.

bfsToolbar
A normal frame without text, but may have an image.

bfsBitmap
A frame whose appearance is entirely dictated by images. This frame style must be present with the `BitmapNormal', `BitmapFocused' and `BitmapClicked' attributes in a definition file.

Attributes

Command buttons publish the following attributes.

Style
Defines the frame style.

Alpha
Alpha level of the button. Only used for `bfsBitmap' style.

Caption
The button's caption (title).

Skin Attributes

Command buttons support the following skin attributes.

OverlayTextureAlpha
Used for texturing the button with a global texture. Can be used to give a "liquid" look to buttons.

Texture
Used for overlaying the button with the global texture.


This document was generated using texi2html