For Windows app development the BringToFront method or DelphiVCL.Application.BringToFront sets the last active window as the topmost window on the desktop above all other applications.
Use BringToFront to find the window owned by the MainForm that was last active and bring it to the foreground. BringToFront also tests to see if the window is visible and enabled before making it the topmost window.
Let’s browse all the properties and methods of the DelphiVCL.Application.BringToFront using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.BringToFront) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.BringToFront using the print() command:
1 2 |
print(DelphiVCL.Application.BringToFront) print(DelphiVCL.Application.BringToFront.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.