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:

1 1 6402855

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

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

The result:

1 2 5087157

 

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
CodeIDEPythonPython GUIWindows

Unlock the Power of Python for Deep Learning with Recurrent Neural Networks

AndroidCodeDelphiLearn PythonProjectsPythonPython GUI

How to Create a BMI App With Delphi Ecosystem And Python

AndroidCodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How to Create a Stopwatch/Timer Android App With Delphi For Python?

AndroidCodeDelphiDelphiFMXLearn PythonProjectsPythonPython GUI

How to Create a Unit Converter Android App Using Python GUI

Leave a Reply

Your email address will not be published. Required fields are marked *