DelphiDelphiVCLPythonPython GUIWindows

ActionList in DelphiVCL

ActionList or TActionList maintains a list of actions that your application can take in response to something a user does, such as components and controls (e.g. menu items and buttons). Use Action lists to centralize the response to user commands (actions). Action list components maintain a list of actions that are available to the client controls in an application. This lets you share…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to Change the Font Attributes

We use Font or TFont to specify the attributes of text written on or in the control. To change to a new font, specify a new TFont object. To modify a font, change the value of the Charset, Color, Height, Name, Pitch, Size, or Style of the TFont object. Note: Changing the font color of the Caption is not supported for some controls (such as TButton). In most cases, there is an…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Python: Getting Started with DelphiVCL III: Overview of Commonly Used VCL Components

To increase your familiarity with DelphiVCL Components, this post will show you a demo that presents commonly used VCL components, and call them one-by-one with Python. The following is a Python code sample using DelphiVCL4Python: from delphivcl import * class MainForm(Form): def __init__(self, Owner): self.Caption = "Components Overview Sample" self.Name = "BaseForm" …
Read more