FMX.ActnList.TCustomAction.UpdateSupported

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure UpdateSupported;

C++

void __fastcall UpdateSupported();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.ActnList.pas
FMX.ActnList.hpp
FMX.ActnList TCustomAction

Description

UpdateSupported is called when the Supported property can be changed.

UpdateSupported is called from Update or when the value of the UnsupportedArchitectures or UnsupportedPlatforms property has changed.

UpdateSupported analyzes whether the action can be supported under the current CPU architecture and OS platform with the current settings of the UnsupportedArchitectures, UnsupportedPlatforms, HideIfUnsupportedInterface, and IsSupportedInterface properties. If Supported is estimated False, then UpdateSupported sets Visible and Enabled to False, otherwise UpdateSupported restores the values of Visible and Enabled to the values that were stored before the last time when Supported became False.

See Also