Site icon Learn C++

Learn About Basic Windows Components In C++ Development (QuickLook Part 2)

TComboBox

ComboBox is used to select list of texts (i.e. Categories). Gets the item that is currently selected in the combo box. Selected returns the selected item in the combo box as a TListBoxItem instance

[crayon-6741c7499d9cd127971687/]
[crayon-6741c7499d9da269668241/]

TCheckBox

CheckBox shows a check box that can be either on (selected) or off (cleared). It is easy to add options to be checked or not. You can easily control the check/uncheck events by using OnChange event as below;

[crayon-6741c7499d9dd067901848/]

You can manually set TCheckBox on or off.

[crayon-6741c7499d9df008676984/]

TSwitch

Switch shows a on/off button that can be either on  or off. It is easy to add options to be ON or OFF. You can easily control the check/uncheck events by using OnChange event as below;

[crayon-6741c7499d9e2915165787/]

You can manually set TSwitch on or off.

[crayon-6741c7499d9e4508248211/]

TStatusBar

The StatusBar is usually aligned at the bottom of a form, and displays information about an application as it runs. A status bar can display a size grip, so if your form is sizable, there is no need to add a TSizeGrip component as long as you have a status bar already. The status bar can also intercept hints.

[crayon-6741c7499d9e6577595112/]

Exit mobile version