Vcl.StdActns.TWindowAction
Delphi
TWindowAction = class(TAction)
C++
class PASCALIMPLEMENTATION TWindowAction : public Vcl::Actnlist::TAction
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.
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.