DelphiDelphiVCLPythonPython GUIWindows

Discover Delphi VCL's Available Colors

Color is used to specify the color of a Windows-only control. It is used by the Color property of many components and by several other properties that specify color values. The DelphiVCL.Graphic unit contains definitions of useful constants for Color. These constants map either directly to the closest matching color in the system palette (for example, clBlue maps to blue) or to the…
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

Create a Multiline Edit Control on a Form using DelphiVCL.Memo

DelphiVCL.Memo is a wrapper for a Windows multiline edit control. We use Memo to put a standard Windows multiline edit control on a form. Multiline edit boxes allow the user to enter more than one line of text. They are appropriate for representing lengthy information. Note: Under Windows, there may be a limit of 64k of text for this control. Browse all the properties…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Create a ComboBox using DelphiVCL.ComboBox

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 a TComboBox is equal to the width that Windows uses for scrollbars. This width depends on the color scheme that the user has chosen (by…
Read more