In this post, you’ll learn more about Name or DelphiVCL.Application.Name property specifies the name of the component as referenced in the code. Use Name to change the name of a component to reflect its purpose in the current application. By default, the IDE assigns sequential names based on the type of the component, such as ‘Button1’, ‘Button2’, and so on. Use Name to refer to the component in code.
Warning: Changing Name at a run time causes any references to the old name to become undefined. Any subsequent code that uses the old name will cause an exception.
Learning more about the Name Property will help you build easily Delphi Applications with Lightweight Python IDE Windows.
Table of Contents
How can I examine the properties and methods of the DelphiVCL.Application.Name?
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.Name using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.Name) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.Name using the print() command:
1 2 |
print(DelphiVCL.Application.Name) print(DelphiVCL.Application.Name.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.