OnMinimize or DelphiVCL.Application.OnMinimize occurs when a Python GUI DelphiVCL application is minimized.
Write an OnMinimize event handler to perform special processing when the application is minimized. The application is minimized either because the user minimizes the main window or because of a call to the Minimize method. The Icon property determines the icon that represents the minimized application.
Table of Contents
How to examine the properties and methods of the Python GUI DelphiVCL.Application.OnMinimize event?
Let’s browse all the properties and methods of the DelphiVCL.Application.OnMinimize using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.OnMinimize) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.OnMinimize using the print() command:
1 2 |
print(DelphiVCL.Application.OnMinimize) print(DelphiVCL.Application.OnMinimize.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.
Watch this comprehensive introduction to Python GUI Development with DelphiVCL library video by Jim McKeeth: