Reference Codebot.Controls.Edits.pas
Part of the Codebot Controls package
The Codebot.Controls.Edits unit gives you TSlideEdit, an edit for a number between Min and Max with a spin button on its right. The user can type a number, press the up and down arrow keys to change it by Step, or press the button to pop up a slide bar under the mouse and drag it. The text is formatted when the edit loses focus, and you can handle OnFormat to choose how.
The unit also holds TCustomRenderEdit, an edit control drawn using a surface, which is not finished yet.
Items 69 items
| Name | Kind | Line |
|---|---|---|
| TCustomRenderEdit | class | 28 |
| Create | constructor | 34 |
| Draw | procedure | 31 |
| TCustomSlideEdit | class | 57 |
| AdjustEdit | procedure | 108 |
| AdjustHeight | procedure | 110 |
| Create | constructor | 157 |
| CreateWnd | procedure | 95 |
| DoButtonPress | procedure | 112 |
| DoChange | procedure | 114 |
| DoFormat | function | 116 |
| DoValueChange | procedure | 118 |
| Draw | procedure | 125 |
| EditHeight | function | 100 |
| ExtraHeight | function | 102 |
| FontChanged | procedure | 96 |
| GetButtonRect | function | 104 |
| GetEditRect | function | 106 |
| Loaded | procedure | 97 |
| MouseDown | procedure | 119 |
| MouseLeave | procedure | 124 |
| MouseMove | procedure | 121 |
| MouseUp | procedure | 122 |
| RealGetText | function | 92 |
| RealSetText | procedure | 94 |
| Resize | procedure | 98 |
| AutoHeight | property | 137 |
| ButtonDown | property | 133 |
| ButtonHot | property | 135 |
| InnerEdit | property | 127 |
| Max | property | 141 |
| Min | property | 139 |
| OnDrawBackground | property | 148 |
| OnDrawThumb | property | 150 |
| OnFormat | property | 152 |
| OnValueChange | property | 154 |
| Popped | property | 131 |
| Popup | property | 129 |
| Position | property | 143 |
| Step | property | 146 |
| Text | property | 159 |
| TPopupSlideForm | class | 39 |
| Create | constructor | 44 |
| Slide | property | 46 |
| TSlideEdit | class | 164 |
| Align | property | 175 |
| Anchors | property | 176 |
| AutoHeight | property | 166 |
| BorderSpacing | property | 177 |
| Constraints | property | 178 |
| Enabled | property | 179 |
| Font | property | 180 |
| Max | property | 168 |
| Min | property | 167 |
| OnDrawBackground | property | 171 |
| OnDrawThumb | property | 172 |
| OnEnter | property | 187 |
| OnExit | property | 188 |
| OnFormat | property | 173 |
| OnResize | property | 189 |
| OnValueChange | property | 174 |
| ParentFont | property | 181 |
| ParentShowHint | property | 182 |
| PopupMenu | property | 183 |
| Position | property | 169 |
| ShowHint | property | 184 |
| Step | property | 170 |
| TabOrder | property | 185 |
| Visible | property | 186 |