TrvCustomAction.ControlPanel

<< Click to display table of contents >>

TrvCustomAction.ControlPanel

A reference to the control panel.

property ControlPanel: TRVControlPanel;

The control panel defines the user interface language of the action (Text and Hint properties). If no control panel is assigned, the action text is in English.

Instead of assigning this property directly, assign the TActionList component containing this action to the control panel’s ActionList property. This is required for the action state (Enabled and Checked properties) to be updated correctly.

Actions inherited from TrvAction are applied to the editor specified in ControlPanel.Editor.