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
DelphiDelphiVCLPythonPython GUIWindows

Learn About delphivcl.Splitter

DelphiVCL.Splitter or TSplitter divides the client area of a form into resizable panes. Add a splitter to a form between two aligned controls to allow users to resize the controls at runtime. The splitter sits between a control aligned to one edge of the form and the controls that fill up the rest of the client area. Give the splitter the same alignment as the control that is anchored to…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn About TGridDrawState for GUI Development with Python’s DelphiVCL

TGridDrawState represents information useful when rendering the cell of a grid. TGridDrawState represents state information about the cell of a grid that is being rendered. It is a set that includes one or more of the states listed in the following table: Value Meaning gdSelected The cell is currently selected. gdFocused The cell has input…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Learn About delphivcl.Rect

DelphiVCL.Rect or TRect defines a rectangle. TRect represents the dimensions of a rectangle. The coordinates are specified as either four separate integers representing the left, top, right, and bottom sides, or as two points representing the locations of the upper-left and lower-right corners. Typically, DelphiVCL.Rect values represent pixel locations, where the origin of the pixel…
Read more