When running dir() to DelphiVCL library or any DelphiVCL methods and properties in all previous sections, you might find many of Python’s built-in objects and properties. Previously, we already discussed about __doc__, __file__, __loader__, __name__, __package__,__spec__, __class__, __contains__, __delattr__, __dir__, __eq__, __format__, __ge__, __getattribute__, __getitem__, __gt__, __hash…
Learn about delphivcl.RadioGroup
May 8, 2021
Description
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…
Create a ComboBox using delphivcl.ComboBox
May 7, 2021
Description
delphivcl.ComboBox combines an edit box with a scrollable list. A ComboBox component is an edit box with a scrollable drop-down list attached to it. Users can select an item from the list or type directly into the edit box.
Note: The width of the button in…
Create a ListBox using delphivcl.ListBox
May 6, 2021
delphivcl.ListBox displays a collection of items in a scrollable list. We use ListBox to display a scrollable list of items that users can select, add, or delete. ListBox is a wrapper for the Windows listbox control.
We can browse all the properties, methods, and built-in properties of the delphivcl.ListBox using dir() command:
import delphivcl
dir(delphivcl.ListBox)
See the…
Rect indicates the portion of the list view’s client area covered by the work area.
Set Rect to specify the sphere of influence of a work area. Rect is the bounding rectangle of a portion of the list view’s client area. If Rect specifies a region larger…
Learn About delphivcl.ScrollBar or TScrollBar
May 5, 2021
DelphiVCL.ScrollBar or TScrollBar is a Windows scroll bar, which is used to scroll the contents of a window, form, or control.
We can use TScrollBar to add a free-standing scroll bar to a form. Many controls have properties that add scroll bars which are an integral…
Create a CheckBox using delphivcl.CheckBox
May 4, 2021
delphivcl.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.RadioButton or TRadioButton is a wrapper for a system radio button.
Use TRadioButton to add a radio button to a form. Radio buttons present a set of mutually exclusive options to the user- that is, only one radio button in a set can be selected at a time.
Learn Python With The Hitchhiker's Guide to CLIs in Python by Vinayak Mehta (PyCon 2020) Video
May 3, 2021
Here comes another interesting talk from the recently concluded PyCon 2020. In this video presented by Vinayak Mehta, we will learn more about Command-line applications and their interesting history as well as how can we create them using various Python packages. We all know…
delphivcl.Edit or TEdit is a wrapper for a Windows single-line edit control.
We can use an Edit object to put a standard Windows edit control on a form. Edit controls are used to retrieve text that users type. Edit controls can also display text to the user.
When only displaying text to the user, choose an edit control to allow users to select text and copy it to the Clipboard. Choose a…