Unit 'MUIClass.Base' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#MUIClass]

TMUIApplication.Iconified

Iconify the Application

Declaration

Source position: MUIClass.Base.pas line 251

public property TMUIApplication.Iconified : Boolean
  read GetIconified
  write SetIconified;

Description

Setting this attribute to TRUE causes the application to become iconified. Every open window will be closed and a (configurable) AppIcon will appear on the workbench.

Same thing happens when the user hits the iconify gadget in the window border or uses commodities Exchange to hide your applications interface.

There is no way for you to prevent your application from being iconified. However, you can react on the iconification by listening to the OnIconify Event. This allows you to free some resources you don't need in iconified state.

When an application is iconified and you try to open a window, the window won't open immediately. Instead MUI remembers this action and opens the window once the application is uniconified again.

See also

DiskObject

  

Iconify Icon


Documentation generated on: 2024-11-21