TIBEAntialiasButton
Online Help
This section provides more information about the TIBEAntialiasButton's properties editors.
Overview
Starting from version 1.2 property editors can be used to easily and rapidly modify the component's properties. This section describes the various property editors, their functionalities and how to use them and access them. Those property editors are only available at design time, therefore they do not have any impact in the final application's size or speed.
One of the easiest way to access them is to right click on the TIBEAntialiasButton you wish to edit and choose which editor you would like to see. The following picture shows the 3 options added to the TIBEAntialiasButton's context menu:
- About the TIBEAntialiasButton - will display an about box with more information about the component
- Edit general properties - will display the general properties editor
- Edit caption properties - will display the caption properties editor

General Properties
The "general properties" editor is the property editor which allows the edition of:
- The colors and fonts for the various button's states
- The corners and borders properties
- The background and focus color and visibility
Accessing the property editor
There are several ways of accessing this property editor:
- Right click on a TIBEAntialiasButton in Delphi and choose "Edit general properties..."
- Double click on the TIBEAntialiasButton in Delphi
- Click the ellipsis "..." button in the TIBEAntialiasButton "properties" property in the Delphi's object inspector or double click it

State properties [1, 2, 3, 4]
It provides an easy way of modifying the properties for each of the component's states: when it is disabled, when the mouse is away, over or down. For each state, the button's border color, color and font can be changed.
As it is annoying and slow to modify every property one by one, we have introduced the link buttons (orange, blue and green links in the above screen shots for each state 1, 2, 3 and 4). Basically how it works is changing all linked properties together when one of them has been modified.
For example, in the above screen shot, all the "border color" properties for each state have been linked. This means that changing one of them will change all of them the same way! Let's now see the "Color" property. The disabled and mouse away states are linked for this one so changing one of those will automatically update the other one without changing the mouse over and mouse down ones.
To easily link the properties together, you can use various mouse buttons:
- Left clicking on a link switches this link's state
- Middle / Wheel clicking on a link switches all the links of the same properties for other states
- Right clicking on a link enables or disables all the links of the same properties for other states
Sample button [5]
Each modification made in this window will instantly be applied to this sample button. The edited button(s) will match this sample button once the "apply" or "ok" buttons have been clicked in this property editor.
Corner Status [6]
By switching those buttons, you can change the corner's status and set them individually rounded or straight. Besides simple clicking, the same
functionalities
as the state links have been introduced:
- Left clicking switches the corner's state
- Middle / Wheel clicking switches each corner's state
- Right clicking set them all to rounded or straight
Other properties [7]
This section presents an easy visual way to modify the other properties of the edit components:
- Corner round and border size
- Background color and visibility
- Focus Color
Opening the Caption Editor [8]
You can open the caption editor to modify the caption properties for the currently edited buttons.
Caption Properties
The "caption properties" editor is the property editor which allows the edition of:
- Caption text and disposition
- Glyph shape and disposition
- Margins sizes
Accessing the property editor
There are several ways of accessing this property editor:
- Right click on a TIBEAntialiasButton in Delphi and choose "Edit caption properties..."
- Click the ellipsis "..." button in the TIBEAntialiasButton "caption" property in the Delphi's object inspector or double click it

Caption [1]
Change the caption text and Word Wrap.
Glyph [2]
Browse or Clear the glyph picture. You can also set the glyph's properties:
- Auto Gray - Use internal procedure to produce smooth grayed glyph when button is disabled
- Transparent - Make the gray transparent by getting the background color from the bottom left pixel
- Position - Where the glyph is positioned regarding to the caption text
- Separation - number of pixels between the glyph and the caption text
Margins [3]
Number of pixels for each margin.
|