Site icon Python GUI

Create a CheckBox using DelphiVCL.CheckBox

photo of woman holding a gray laptop in front of systems

Photo by Christina Morillo on Pexels.com

CheckBox represents a check box that can be on (checked) or off (unchecked).

A CheckBox component presents an option for the user. The user can check the box to select the option, or uncheck it to deselect the option.

The Caption property can be used to define an accelerator key to a control.

We can browse all the properties, methods, and built-in properties of the DelphiVCL.CheckBox using dir() command:

[crayon-6622cbc716a86405039172/]

See the responses in command prompt:

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

[crayon-6622cbc716a93136159593/]

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

[crayon-6622cbc716a96204734002/]

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:

Exit mobile version