In this post, we’ll use the FieldAddress method or DelphiVCL.Application.FieldAddress to return the address of a published object field. Learning how to do it will allow you to easily build GUIs with Python Coding Software.
FieldAddress is used internally by the component streaming system to access a specified published field of an object. FieldAddress returns a pointer to the field, if it exists. If the object has no published field by that name, FieldAddress returns nil (Delphi) or NULL (C++).
Programs should access and manipulate fields by using properties instead of FieldAddress.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.FieldAddress using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.FieldAddress) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.FieldAddress using the print() command:
1 2 |
print(DelphiVCL.Application.FieldAddress) print(DelphiVCL.Application.FieldAddress.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.