API:Vcl.ActnMenus.TCustomActionPopupMenu.VisibleChanging

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure VisibleChanging; override;

C++

DYNAMIC void __fastcall VisibleChanging();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomActionPopupMenu

Description


Provides the interface for a method that responds to changes in the control's visibility.

Vcl.ActnMenus.TCustomActionPopupMenu.VisibleChanging inherits from Vcl.Controls.TControl.VisibleChanging. All content below this line refers to Vcl.Controls.TControl.VisibleChanging.

Provides the interface for a method that responds to changes in the control's visibility.

VisibleChanging is called before the value of a control's Visible property changes. As implemented in TControl, it does nothing. Override VisibleChanging to respond to changes in the control's visibility. For example, if a control should not change its visibility, override VisibleChanging to raise an exception when an attempt is made to alter the control's visibility.

See Also