Reference Codebot.Controls.Buttons.pas
Part of the Codebot Controls package
The Codebot.Controls.Buttons unit defines TThinButton, which is a flat button that draws itself using the current theme and can optionally show an image from an image strip. The kind of a thin button determines how it behaves:
- A plain button.
- A drop down or dialog button, which has a second area for an arrow or an ellipsis.
- A spin button, which has up and down areas.
- A splitter.
Items 65 items
| Name | Kind | Line |
|---|---|---|
| TButtonKind | enum | 28 |
| bkButton | enum value | 28 |
| bkDropDown | enum value | 28 |
| bkDialog | enum value | 28 |
| bkSpin | enum value | 28 |
| bkSplitter | enum value | 28 |
| TCustomThinButton | class | 34 |
| AreaClick | procedure | 49 |
| CalculatePreferredSize | procedure | 54 |
| Click | procedure | 50 |
| Create | constructor | 79 |
| Destroy | destructor | 80 |
| Draw | procedure | 68 |
| GetAreaCount | function | 51 |
| GetAreaRect | function | 52 |
| GetControlClassDefaultSize | function | 53 |
| MouseDown | procedure | 63 |
| MouseEnter | procedure | 66 |
| MouseLeave | procedure | 67 |
| MouseUp | procedure | 65 |
| Notification | procedure | 58 |
| TextChanged | procedure | 56 |
| ThemeAware | function | 57 |
| Down | property | 70 |
| ImageIndex | property | 62 |
| Images | property | 60 |
| Kind | property | 72 |
| OnDrawButton | property | 74 |
| ShowCaption | property | 76 |
| TThinButton | class | 85 |
| Action | property | 87 |
| Align | property | 88 |
| Anchors | property | 89 |
| AutoSize | property | 90 |
| BidiMode | property | 91 |
| BorderSpacing | property | 92 |
| Caption | property | 94 |
| Color | property | 95 |
| Constraints | property | 93 |
| Down | property | 96 |
| Enabled | property | 97 |
| Font | property | 98 |
| ImageIndex | property | 100 |
| Images | property | 99 |
| Kind | property | 101 |
| OnChangeBounds | property | 116 |
| OnClick | property | 104 |
| OnDblClick | property | 105 |
| OnDrawButton | property | 106 |
| OnMouseDown | property | 107 |
| OnMouseEnter | property | 108 |
| OnMouseLeave | property | 109 |
| OnMouseMove | property | 110 |
| OnMouseUp | property | 111 |
| OnMouseWheel | property | 112 |
| OnMouseWheelDown | property | 113 |
| OnMouseWheelUp | property | 114 |
| OnResize | property | 115 |
| ParentBidiMode | property | 118 |
| ParentFont | property | 119 |
| ParentShowHint | property | 120 |
| PopupMenu | property | 121 |
| ShowCaption | property | 102 |
| ShowHint | property | 117 |
| Visible | property | 103 |