RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TApplication.BringToFront Method

Sets the last active window as the topmost window on the desktop above all other applications.

Pascal
procedure BringToFront;
C++
__fastcall BringToFront();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!