C++C++11C++14C++17ComponentsLanguage FeatureLearn 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

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;

You can manually set TCheckBox on or off.

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;

You can manually set TSwitch on or off.

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.

close

Oh hi there 👋
It’s nice to meet you.

Sign up to receive awesome C++ content in your inbox, every day.

We don’t spam! Read our privacy policy for more info.


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial

Free C++Builder Community Edition

About author

Dr. Yilmaz Yoru has 35+ years of coding with more than 30+ programming languages, mostly C++ on Windows, Android, Mac-OS, iOS, Linux, and some other operating systems. He was born in 1974, Eskisehir-Turkey, started coding in college and graduated from the department of Mechanical Engineering of Eskisehir Osmangazi University in 1997. He worked as a research assistant at the same university for more than 10 years. He received his MSc and PhD degrees from the same department at the same university. Since 2012, he is the founder and CEO of Esenja LLC Company. He has married and he is a father of a son. Some of his interests are Programming, Thermodynamics, Fluid Mechanics, Artificial Intelligence, 2D & 3D Designs, and high-end innovations.
Related posts
C++C++11C++14C++17C++20Learn C++Syntax

What Is A Forced (Default) Copy Assignment Operator In Modern C++

C++C++11C++14C++17C++20Learn C++Syntax

What is Implicitly-declared Copy Assignment Operator In C++?

C++C++11C++14C++17C++20Learn C++Syntax

What is Avoiding Implicit Copy Assignment In C++?

C++C++11C++14C++17C++20Learn C++

Typical Declaration Of A Copy Assignment Operator Without std::swap

Worth reading...
Introduction To C++ Windows Development With C++Builder