Building Actions Using the Tango BuildersHow the Tango Builders Work in Application FilesThe Tango builders help you create and generate a sequence of actions to perform specific tasks. The builders are added to an application file in exactly the same way you add any other action. Once you add a builder and configure it, the actions the builder generates are inserted automatically into the application file. Builder information is saved in the application file format, making it cross-platform capable. This means you can use any application file containing a builder across all platforms. Tango Editor provides two builders.
For details about how to configure the Search Builder, see "About the Search Builder" For details about how to configure the New Record Builder, see "About the New Record Builder" The topics covered in this chapter include:
![]() Adding a Builder to an Application FileWith a new or existing application file open, you add a builder in the same way you add an action, that is, you drag the builder icon from the Actions bar into the application file window. When you drag either of the builder icons into an application file window, the corresponding builder window opens. For example, if you drag the Search Builder icon from the Actions bar into an open applicile, the Search Builder window opens so you can immediately set Search Builder options. In the application file window, the corresponding builder icon appears with a default name, just like with actions. The default name for the Search Builder is "Search_Builder" and for the New Record Builder, "Record_Builder".
|
|
For more information, see "Conditional Action Execution (If Action)". |
If you add a builder to an application file that already contains the same builder using the default name, Tango adds a number to the default name and increments it by one for each subsequent addition, for example, "Search_Builder1", "Search_Builder2", and so on.
Within the application file, a builder behaves exactly like an action group. That is, it contains actions that can appear in expanded or collapsed form. In the picture on the previous page, the Search Builder icon represents a group, but the group is empty until its actions are built. Tango Server ignores unbuilt builders. ![]() Building the ActionsOnce you have entered all the relevant information in the builder window, you can generate the actions. To build Search or New Record actions in an application file
On completion, the actions appear in the builder group. You can view the hierarchy of a builder in an application file. Click either the plus sign (+) or minus sign (-) to expand or collapse the builder group accordingly. When building actions, the builder replaces any existing actions in the group:
|
Copyright © 1998, Pervasive Software Inc. All rights reserved.