Vcl.StdCtrls.TCustomButton.ElevationRequired

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ElevationRequired: Boolean read FElevationRequired write SetElevationREquired default False;

C++

__property bool ElevationRequired = {read=FElevationRequired, write=SetElevationRequired, default=0};

Properties

Type Visibility Source Unit Parent
property public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomButton

Description

Puts a shield icon on a button, indicating that elevated access rights are required.

When ElevationRequired is True, the button has a shield icon, indicating that elevated access rights are required. Vista or later UI guidelines specify that when there is a button that performs an operation requiring elevated access rights, it should have this shield icon.

This icon overrides any of the properties specifying a button image for various button states, as in ImageIndex.

This is available for Windows Vista, Windows 7, or later Windows operating systems only.

See Also