DelphiDelphiVCLPythonPython GUIWindows

Learn about DelphiVCL.RadioGroup

crop diverse women doing task in campus

DelphiVCL.RadioGroup represents a group of radio buttons that function together.

A RadioGroup object is a special group box that contains only radio buttons. Radio buttons that are placed directly in the same control component are said to be “grouped.” When the user checks a radio button, all other radio buttons in its group become unchecked. Hence, two radio buttons on a form can be checked at the same time only if they are placed in separate containers, such as group boxes.

Each string in Items makes a radio button appear in the group box with the string as its caption. The value of the ItemIndex property determines which radio button is currently selected.
We can browse all the properties, methods, and built-in properties of the DelphiVCL.RadioGroup using dir() command:

See the responses in our Windows command prompt:


Here is the working example of the implementation of DelphiVCL.RadioGroup:

To see the result, let’s run the complete script:

The result:



Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.

Watch this comprehensive introduction to Python GUI Development with DelphiVCL library video by Jim McKeeth:

Related posts
Python GUI

PyScripter vs. PyCharm - Best Python Coding Software?

IDEPythonPython GUI

What Is The Best IDE For Python?

DelphiDelphiVCLLearn PythonProjectsPythonPython GUIWindows

How To Build A Currency Converter Tool Python Desktop App

Python GUI

What Are The Best Web Scraping Tools For Python