Vcl.ActnMan.TActionClient.ChangesAllowed

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ChangesAllowed: TChangesAllowedSet read FChangesAllowed  write SetChangesAllowed default [caModify, caMove, caDelete];

C++

__property TChangesAllowedSet ChangesAllowed = {read=FChangesAllowed, write=SetChangesAllowed, default=7};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TActionClient

Description

Indicates which kinds of changes to the action client are permissible.

Although action clients are part of a customizable user interface, allowing all changes may not necessarily be desirable. Use the ChangesAllowed property to indicate which changes to the action client are allowable. Possible values in the set are:



Value Description

caModify

The item can be modified internally. For example, the visible caption can be changed.

caMove

The item can be relocated on the action band.

caDelete

The item can be removed from the action band.



Note: The property is a set, and can have multiple values at the same time. In fact, the default is to allow all three values (all changes are possible).