[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TApplication.MainFormOnTaskBar (platform)

Controls whether a button is displayed on the task bar for the main form in the application.

Declaration

Source position: forms.pp line 1742

public property TApplication.MainFormOnTaskBar : Boolean
  read FMainFormOnTaskBar
  write SetMainFormOnTaskBar;

Description

MainFormOnTaskBar is a Boolean property which determines whether the icon for the main form in the application is displayed on the task bar. When MainFormOnTaskBar is set to True, a button representing the main form is displayed on the task bar area in the window manager. When set to False, the button is not displayed in the task bar area.

Changing the value in the property causes the Widgetset class to be notified of the new property value.

MainFormOnTaskBar is a platform-dependent property. It may not be implemented for all platforms supported for the Lazarus application. In addition, some platforms which display task bar thumbnails (like Windows Vista) may require the property to be set to True.

The default value for the property is normally set in the Lazarus project file (.lpr) used to compile the application.

See also

TApplication.MainForm

  

Contains the main form for the application.

TApplication.Icon

  

The icon associated with this application.

TApplication.Title

  

Contains the title for the application.


Version 3.2 Generated 2024-02-25 Home