THYHydraAction
Overview
THYHydraAction is installed as an action class with the VCL action manager. Create actions of this class in visual plugins to allow show them in a host application and provide host with an ablitiy to enable or disable them based on user privileges.
Location
- Unit: Hydra.VCL.Actions.pas
- Ancestry: TAction | THYHydraAction
constructor Create override
Creates an instance of the class.
constructor Create(aOwner: TComponent)
Parameters:
- aOwner: Owner of the new object.
DisableOptions
Controls how this action will be displayed when its disabled.
property DisableOptions: THYActionDisableOptions read write
DisplayOptions
Control where to display this action.
property DisplayOptions: THYActionDisplayOptions read write
RequiredPrivilege
User defined string that specifies privilage that is required to use this action.
property RequiredPrivilege: string read write
UserData
String that holds custom data.
property UserData: string read write
UserObject
Object that holds custom data.
property UserObject: TObject read write
DisableOptions
Controls how this action will be displayed when its disabled.
property DisableOptions: THYActionDisableOptions read write
DisplayOptions
Control where to display this action.
property DisplayOptions: THYActionDisplayOptions read write
RequiredPrivilege
User defined string that specifies privilage that is required to use this action.
property RequiredPrivilege: string read write
UserData
String that holds custom data.
property UserData: string read write
UserObject
Object that holds custom data.
property UserObject: TObject read write
constructor Create override
Creates an instance of the class.
constructor Create(aOwner: TComponent)
Parameters:
- aOwner: Owner of the new object.