Setting Up Action Bands

From RAD Studio
Jump to: navigation, search

Go Up to Handling VCL Actions Using an Action Manager


Because actions do not maintain any "layout" (either appearance or positional) information, the VCL framework provides action bands that are capable of storing this type of data. Action bands provide a mechanism that allows you to specify layout information and a set of controls. You can render actions as UI elements such as toolbars and menus.

You organize sets of actions using the Action Manager (Vcl.ActnMan.TActionManager). You can use standard actions provided or create new actions of your own.

You then create the action bands:

The action bands act as containers that hold and render sets of actions. You can drag and drop items from the Action Manager editor onto the action band at design time. At run time, application users can also customize the application's menus or toolbars using a dialog box similar to the Action Manager editor.

See Also