|
<< Click to display table of contents >> TRVControlPanel.ActionList |
A reference to the TActionList component containing actions linked to this control panel.
property ActionList: TCustomActionList;
This control panel assigns itself to the ControlPanel property of all actions inherited from TrvCustomAction (unless another control panel is already assigned to this property).
This assignment is made when this property is set and when properties that affect the actions are changed.
You must assign a value to this property if you want to use actions inherited from TrvAction, because the control panel updates the action state (Enabled and Checked properties).
The control panel updates only the actions contained in ActionList. It does not update the state of other actions, even if this control panel is assigned to their ControlPanel property.
This is different from RichViewActions for VCL and Lazarus, where actions update their state themselves.