RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomButton.ElevationRequired Property

Put shield icon on button indicating elevated access rights required.

Pascal
property ElevationRequired: Boolean;
C++
__property Boolean ElevationRequired;

When ElevationRequired is true, the button has a shield icon, indicating that elevated access rights are required. Vista 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 on Windows Vista only. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!