Download PDF
While abbreviations like btn for "Button" are common, many developers opt for full words to ensure clarity and maintainability. Whether you choose abbreviations or full names, the key is consistency across your project. If you use btn for one button, use btn for all buttons rather than mixing in button or but.
The following list provides a reference for abbreviations and full names.
| Abbreviation | Widget / Class Name |
|---|---|
| btn | Button |
| chk | CheckBox |
| combo | ComboBox |
| grp | GroupBox |
| input | InputLine |
| label | Label |
| list | ListBox |
| radio | RadioButton |
| radiolist | RadioButtonList |
| scrollbar | Scrollbar |
| img | Image |
| imgbtn | ImageButton |
| link | Hyperlink |
| form | Form |
| frame | Frame |
| frameset | Frameset |
| dlg | Dialog |
| edit | Edit |
| grid | Grid |
| nb | TabbedNotebook |
| obj | Object |
| timer | Timer |
| spinbtn | SpinButton |
| spinedit | SpinEdit |
| widget | Widget |
| win | Window |
You can make a name more descriptive by adding a suffix (or a prefix). A few examples: