ActiveFormHandle property or DelphiVCL.Application.ActiveFormHandle is used to give the Windows handle of the currently active form.
ActiveFormHandle gives the Windows handle of the currently active form.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.ActiveFormHandle using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.ActiveFormHandle) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.ActiveFormHandle using the print() command:
1 2 |
print(DelphiVCL.Application.ActiveFormHandle) print(DelphiVCL.Application.ActiveFormHandle.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.