DelphiVCL.CustomEdit is the base class from which all edit-box and memo controls are derived.
DelphiVCL.CustomEdit or TCustomEdit encapsulates the behavior common to all components for editing text by introducing methods and properties that provide:
Basic text editing functions such as selecting the text, modifying selected text, and case conversions.
Ability to respond to changes in the contents of the text.
Access control of the text for making it read-only or introducing a password character to hide the actual value.
Do not create instances of DelphiVCL.CustomEdit. Use TCustomEdit as a base class when declaring control objects that permit the user to enter or modify text. Properties and methods of TCustomEdit provide basic behavior that descendant classes inherit as well as behavior that components can override to customize their behavior.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.CustomEdit using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.CustomEdit) |
See the responses in our Windows command prompt:
You can also read short informations about the DelphiVCL.CustomEdit using the print() command:
1 2 |
print(DelphiVCL.CustomEdit) print(DelphiVCL.CustomEdit.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.