Reference Codebot.Forms.Widget.pas
Part of the Codebot Controls package
The Codebot.Forms.Widget unit defines TWidget, which is a floating form drawn using a surface. The user can drag a widget to move it and resize it by its corners. A widget can keep its aspect ratio and can contain click boxes that report when they are clicked. To draw a widget, override its Render method.
Items 34 items
| Name | Kind | Line |
|---|---|---|
| TClickBoxEvent | procedural | 31 |
| TEdgeSizable | set | 28 |
| TEdgeSize | enum | 26 |
| esNW | enum value | 26 |
| esNE | enum value | 26 |
| esSE | enum value | 26 |
| esSW | enum value | 26 |
| TWidget | class | 36 |
| AfterRender | procedure | 78 |
| BeforeRender | procedure | 74 |
| Center | procedure | 93 |
| ClickBox | procedure | 80 |
| ClickBoxes | procedure | 91 |
| Create | constructor | 89 |
| GripColor | function | 82 |
| Loaded | procedure | 68 |
| MouseDown | procedure | 69 |
| MouseMove | procedure | 70 |
| MouseUp | procedure | 71 |
| Paint | procedure | 72 |
| Render | procedure | 76 |
| Animated | property | 96 |
| AspectRatio | property | 106 |
| Dragged | property | 102 |
| EdgeSizable | property | 98 |
| HotQuad | property | 84 |
| MaxHeight | property | 111 |
| MaxWidth | property | 110 |
| MinHeight | property | 109 |
| MinWidth | property | 108 |
| OnClickBox | property | 86 |
| OnTick | property | 113 |
| Sized | property | 104 |
| Surface | property | 100 |