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

Specify Component's Boundary Properties using .SetBounds

.SetBounds will set the Left, Top, Width, and Height properties all at once. Use SetBounds to change all of the component’s boundary properties at one time. The same effect can be achieved by setting the Left, Top, Width, and Height properties separately, but SetBounds changes all four properties at once ensuring that the control will not repaint between changes. This is the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn About delphivcl.StringGrid

DelphiVCL.StringGrid or TStringGrid represents a grid control designed to simplify the handling of strings and associated objects. Add a TStringGrid object to a form to present textual data in a tabular format. TStringGrid provides many properties to control the appearance of the grid, as well as events and methods that take advantage of the tabular organization of the grid in responding to…
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 type to…
Read more