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

What is the ClassInfo Method in DelphiVCL.Application?

The ClassInfo method or DelphiVCL.Application.ClassInfo is used to return a pointer to the run-time type information (RTTI) table for the object type. ClassInfo provides access to the RTTI table for a given object type. Some classes do not provide run-time type information. For these classes, ClassInfo returns nil (Delphi) or NULL (C++). All classes descended from TPersistent do…
Read more
DelphiDelphiVCLPythonPython GUIWindows

How to use the Parent Property

We use the Parent property to get or set the parent of the control. The parent of a control is the control that contains it. For example, if an application includes three radio buttons in a group box, the group box is the parent of the three radio buttons, and the radio buttons are the child controls of the group box. To serve as a parent, a control must be an instance of a TWinControl…
Read more