Setting the Initial Condition of a Speed Button
Go Up to Adding a Toolbar Using a Panel Component
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 |
Appear disabled |
Enabled property to |
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
.