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.

close
Related posts
DelphiLearn PythonPythonPython GUIRAD Studio

Learn To Integrate Python Cryptographic Services To A Delphi Windows GUI App

DelphiDelphiVCLIDELearn PythonPythonPython GUIRAD StudioWindows

Python For Delphi VCL vs Python GUI Generator: wxGlade

DelphiDelphiVCLPythonPython GUIWindows

Learn about the DelphiVCL.Component as the Common Ancestor of All Component Classes

Learn PythonPythonVideos

Learn Python With The Hidden Power of the Python Runtime by Elizaveta Shashkova (PyCon 2020) Videos

Leave a Reply

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

en_USEnglish