DelphiDelphiVCLPythonPython GUIWindows

Specifies the Default Font used by the Application using delphivcl.Application.DefaultFont

Use the DefaultFont property or DelphiVCL.Application.DefaultFont to specify the default font used by the application. DefaultFont specifies the default font used by the application. All newly created forms use DefaultFont if the ParentFont property is set to True. Changing DefaultFont later at run-time will trigger an update for all forms that use the parent font. Let’s browse all…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to use the delphivcl.Application.Destroy Destructor

We use DelphiVCL.Application.Destroy to destroy the application instance and all of its associated memory. Never call DelphiVCL.Application.Destroy or DelphiVCL.Application.Free. Instead, use the application’s Terminate method to end the application. Destroy signals that the application has been deactivated before calling the inherited destructor. It then frees memory for…
Read more
DelphiDelphiVCLPythonPython GUIWindows

Understanding delphivcl.Application.ControlDestroyed

The ControlDestroyed method or DelphiVCL.Application.ControlDestroyed is used to notify the application when a control is destroyed. ControlDestroyed is for internal use and is called automatically by TControl. Do not call it directly. ControlDestroyed notifies the application that the control passed as the Control parameter has been destroyed, so that the properties which refer to…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to use the Text Property

Text property contains a text string associated with the control. We use the Text property to read the Text of the control or to specify a new string for the Text value. By default, Text is the control name. For edit controls and memos, the Text appears within the control. For combo boxes, the Text is the content of the edit control portion of the combo box. Note: Controls that…
Read more