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

TApplication.TaskBarBehavior

Indicates how forms are represented in the task bar.

Declaration

Source position: forms.pp line 1746

public property TApplication.TaskBarBehavior : TTaskBarBehavior
  read FTaskBarBehavior
  write SetTaskBarBehavior;

Description

TaskBarBehavior is a TTaskBarBehavior property which indicates how forms in the application are represented in the task bar. The property value is used in conjunction with the ShowInTaskBar property for the TCustomForm instances in the application. For example:

tbDefault
Shows task bar buttons according to the default behavior for the platform.
tbMultiButton
Shows a task bar button for each form with stDefault in its ShowInTaskBar property.
tbSingleButton
Hide buttons for Forms with stDefault in its ShowInTaskBar property.

When the property value is changed, the UpdateShowInTaskBar for each TCustomForm instance is called when its ShowInTaskBar property is stDefault.


Version 3.2 Generated 2024-02-25 Home