API:Vcl.StdActns.TWindowClose

From RAD Studio API Documentation
Jump to: navigation, search

Vcl.StdActns.TWindowActionVcl.ActnList.TActionVcl.ActnList.TCustomActionSystem.Actions.TContainedActionSystem.Classes.TBasicActionSystem.Classes.TComponentSystem.Classes.TPersistentTWindowClose

Delphi

TWindowClose = class(TWindowAction)

C++

class PASCALIMPLEMENTATION TWindowClose : public TWindowAction

Properties

Type Visibility Source Unit Parent
class public
Vcl.StdActns.pas
Vcl.StdActns.hpp
Vcl.StdActns Vcl.StdActns

Description

TWindowAction is the base class for action objects that work with MDI forms.

Vcl.StdActns.TWindowClose inherits from Vcl.StdActns.TWindowAction. All content below this line refers to Vcl.StdActns.TWindowAction.

TWindowAction is the base class for action objects that work with MDI forms.

TWindowAction implements the common behavior for actions that work on MDI forms. Each descendant class performs a specific task, such as arranging, cascading, closing, tiling, or minimizing MDI child forms. Do not use TWindowAction directly in an application. Instead, use a TWindowAction descendant such as TWindowClose, TWindowCascade, TWindowMinimizeAll, TWindowArrange, TWindowTileHorizontal, or TWindowTileVertical.

TWindowAction ensures that the action is enabled as long as the target is an MDI parent form. TWindowAction descendants override the ExecuteTarget method to execute their specific function on the targets child forms.

See Also