Vcl.Forms.TApplication.BringToFront
Delphi
procedure BringToFront;
C++
void __fastcall BringToFront();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TApplication |
Description
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.