Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Minimizing a window

Status
Not open for further replies.

cupboy2013

Programmer
Mar 21, 2013
27
US
I've tried a few things.
//self.WindowState := TWindowState.wsMinimized;
frmMain.WindowState:=TWindowState.wsMinimized;

but instead of acting like pressing the minus sign at the top right of the form all it does is creates a little window right above the task bar. What kind of strange behavior is this? I just want it on the task bar and nothing else displayed.
 
Application.Minimize;

What you are doing is standard behavior. It's minimizing the form, as it should, and not the application.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top