Please enable JavaScript to view this site.

ESL Documentation

Action bar input is handled through the normal ESL response mechanism. A response can be written for any button in an action bar or for any choice in a pull-down. (You cannot write a response for an action bar or pull-down.)  When an enabled item is selected - by clicking on it with the mouse, by using its accelerator key mnemonic, or by pressing the Enter key while the item is active - its response is taken.

 

Use the response to item statement to write a response to a button or choice.

 

Item responses can appear in blocks just like any other response. As is the case with all ESL objects, selecting an item that has no response has no effect.

 

By default, an item response refers to the item definition. This means that the item response will be taken whenever an item created from this definition is selected. The response will apply to items defined or referenced in action bar templates as well as those added dynamically to pull-downs or action bars.

 

If the optional in keyword is specified, then the response is only taken when the region containing the selected item is in the specified region class.

 

If you want to write a generic response to an item, and replace it with a specific response only in a region or regions, make sure to place the generic response after the specific response in the ESL program.