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 Caption Property

We use Caption to specify a text string that identifies the control to the user. To underline a character in a Caption that labels a component, include an ampersand (&) before the character. This type of character is called an accelerator character. The user can then select the component by pressing ALT while typing the underlined character. To display an ampersand character in the…
Read more
DelphiDelphiVCLPythonPython GUIWindows

OnClose Event in DelphiVCL4Python Library

OnClose event occurs when the form closes. We use OnClose to perform special processing when the form closes. The OnClose event specifies which event handler to call when a form is about to close. The handler specified by OnClose might, for example, test to make sure all fields in a data-entry form have valid contents before allowing the form to close. A form is closed by the Close…
Read more