DelphiDelphiVCLPythonPython GUIWindows

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

DelphiVCL.Component is the common ancestor of all component classes. Component is the base class for all components. Components are persistent objects that have the following capabilities: IDE integration: The ability to appear on an IDE palette and be manipulated in a Form Designer. Ownership: The ability to manage other components. If component A owns component B, then A is…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Adding Set Properties to VCL Components using .SetProps

In the previous examples, we already use the .SetProps several times (see Section 7: Getting Started with DelphiVCL III: Overview of Commonly used VCL Components). Use SetProps to set specific properties to components. Here are the working examples taken from the Section 7: Getting Started with DelphiVCL III: Overview of Commonly used VCL Components: Implemented in creating…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Add Strings to Various Components using .Items

In previous examples, we already use .Items several times (see Getting Started with DelphiVCL III: Overview of Commonly used VCL Components). We use it in ListBox, ComboBox, and RadioGroup. Items contain the strings that appear in the ListBox, ComboBox, and RadioGroup. Use Items to add, insert, delete and move items. By default, the items in a list box are of type Strings. Use this item…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn about DelphiVCL.RadioGroup

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…
Read more