Active property or DelphiVCL.Application.Active is used to specify whether the application is active and has focus.
Active is true while the application is active and false if it is not. Active is set to true in the constructor.
An application is active if the form or application has focus. An application becomes inactive when a window from a different application is about to become activated. When the application closes, Active is set to false in the destructor.
Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.Active using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.Active) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.Active using the print() command:
1 2 |
print(DelphiVCL.Application.Active) print(DelphiVCL.Application.Active.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.