Reference Codebot.Controls.pas
Part of the Codebot Controls package
The Codebot.Controls unit defines many of the base classes for the controls in the package it is contained within. TSurfaceGraphicControl is a windowless control for drawing advanced graphics using the ISurface interface, while TSurfaceCustomControl provides much of the same functionality for custom windowed controls. TSurfaceForm also provides users with a base form class that can be extended and that includes an advanced drawing surface.
The unit also defines TNotifyCollection
Items 85 items
| Name | Kind | Line |
|---|---|---|
| ArrangeControls | procedure | 282 |
| IItemNotifyDelegate | alias | 36 |
| IItemUpdateDelegate | alias | 28 |
| TEdge | enum | 105 |
| edLeft | enum value | 105 |
| edTop | enum value | 105 |
| edRight | enum value | 105 |
| edBottom | enum value | 105 |
| TEdgeOffset | class | 79 |
| Assign | procedure | 91 |
| Bottom | property | 100 |
| Left | property | 94 |
| Right | property | 98 |
| Top | property | 96 |
| TEdges | set | 109 |
| TItemNotifyDelegate | alias | 34 |
| TItemNotifyEvent | procedural | 32 |
| TItemUpdateDelegate | alias | 26 |
| TItemUpdateEvent | procedural | 24 |
| TNotifyCollection | class | 42 |
| Add | function | 64 |
| Assign | procedure | 62 |
| Create | constructor | 59 |
| Destroy | destructor | 60 |
| GetOwner | function | 52 |
| Notify | procedure | 54 |
| Update | procedure | 56 |
| Items | property | 68 |
| OnItemNotify | property | 70 |
| OnItemUpdate | property | 72 |
| Owner | property | 66 |
| TSurfaceCustomControl | class | 203 |
| FDrawState | field | 213 |
| Create | constructor | 234 |
| Destroy | destructor | 235 |
| Draw | procedure | 223 |
| Paint | procedure | 221 |
| PropChange | procedure | 215 |
| ThemeAware | function | 217 |
| ThemeChanged | procedure | 219 |
| DrawState | property | 227 |
| OnDraw | property | 231 |
| Surface | property | 225 |
| ThemeName | property | 229 |
| TSurfaceForm | class | 243 |
| FDrawState | field | 253 |
| CreateNew | constructor | 270 |
| Destroy | destructor | 271 |
| Draw | procedure | 263 |
| Paint | procedure | 261 |
| PaintWindow | procedure | 259 |
| ThemeAware | function | 255 |
| ThemeChanged | procedure | 257 |
| DrawState | property | 267 |
| OnRender | property | 274 |
| Surface | property | 265 |
| ThemeName | property | 276 |
| TSurfaceGraphicControl | class | 129 |
| FDrawState | field | 146 |
| AreaClick | procedure | 149 |
| Create | constructor | 194 |
| Destroy | destructor | 195 |
| Draw | procedure | 181 |
| EnabledChanged | procedure | 173 |
| ExcludeStateItem | procedure | 166 |
| GetAreaCount | function | 151 |
| GetAreaRect | function | 153 |
| GetAreaState | function | 155 |
| GetControlClassDefaultSize | function | 171 |
| IncludeStateItem | procedure | 164 |
| MouseDown | procedure | 156 |
| MouseEnter | procedure | 161 |
| MouseLeave | procedure | 162 |
| MouseMove | procedure | 160 |
| MouseUp | procedure | 158 |
| Paint | procedure | 179 |
| PropChange | procedure | 168 |
| SetParent | procedure | 169 |
| ThemeAware | function | 175 |
| ThemeChanged | procedure | 177 |
| DrawState | property | 185 |
| MousePoint | property | 191 |
| OnDraw | property | 189 |
| Surface | property | 183 |
| ThemeName | property | 187 |