TTMSFNCSearchEditButton Class
Defines the appearance and caption of an action button inside a search edit control. Configures one of the optional action buttons rendered inside a search edit control. Controls the button's text, bitmaps, size, visibility, and appearance for each interaction state.
API unit family: TMSFNCSearchEdit
Inherits from: TPersistent
Syntax
TTMSFNCSearchEditButton = class(TPersistent)
Properties
| Name | Description |
|---|---|
| Appearance | Gets or sets the visual appearance settings for the button. |
| Bitmaps | Gets or sets the bitmap images displayed on the button. |
| Text | Gets or sets the caption text shown on the button. |
| TextColor | Gets or sets the color used for the button caption text. |
| Visible | When True, the button is shown; when False, the button is hidden. |
| Width | Gets or sets the button width in pixels. |
Events
| Name | Description |
|---|---|
| OnChange | Fires when any button property changes so the owning search edit can schedule a repaint. |
| OnGetAppearance | Fires to request the current visual appearance of the button. The handler can return appearance settings from an external source. |
| OnSetAppearance | Fires when the button's visual appearance is about to be updated. The handler can apply custom appearance settings before the button is drawn. |