Please enable JavaScript to view this site.

ESL Documentation

Define an action bar for a region.

action bar AB_NAME

AB_NAME

The identifier for a previously-defined action bar template.

Description

Use action bar within an object definition to specify the action bar template you want to use for a graphical, image, dialog, or textual region. You can use the same template to create action bars for more than one region at a time.

(Windows only.) Only those regions that are children of the desktop can have action bars.

Example

 

action bar Part_Window_AB is

 pulldown View_Choices text "~View"

         choice View_Part text "~Part \t F4"

                 accelerator is KEY_F4

         choice View_Description text "~Description"

         choice View_Inventory text "~Inventory \t Alt+F5"

                 accelerator is alt KEY_F5

 end pulldown

end action bar

 

color 26 graphical region Part_Window

 size 263 160

 at position 60 80

 in desktop

 color 27 foreground

 size border

 title bar "Part"

 system menu

 horizontal scroll bar scroll by 6

 vertical scroll bar scroll by 16

 no scale

 action bar Part_Window_AB

See Also

action bar isTemplate Definition