RAD Studio |  |

Setting the Initial Condition of a Speed Button
See Also
Collapse All

Speed buttons use their appearance to give the user clues as to their state and purpose. Because they have no caption, it's important that you use the right visual cues to assist users.

The table below lists some actions you can set to change a speed button's appearance:

Setting speed buttons' appearance

To make a speed button: | Set the toolbar's:
Appear pressed | GroupIndex property to a value other than zero and its Down property to True.
Appear disabled | Enabled property to False.
Have a left margin | Indent property to a value greater than 0.

If your application has a default drawing tool, ensure that its button on the toolbar is pressed when the application starts. To do so, set its GroupIndex property to a value other than zero and its Down property to True.

See Also

TToolBar

TCoolBar

TPanel

TToolButton

TSpeedButton

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!