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-6620adb459254396992626/]
[crayon-6620adb45925e159220327/]

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-6620adb459260358355418/]

You can manually set TCheckBox on or off.

[crayon-6620adb459261595953904/]

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-6620adb459265660602067/]

You can manually set TSwitch on or off.

[crayon-6620adb459269818243529/]

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-6620adb45926a849604628/]

Exit mobile version