Overloading an Action Control in a Function

  

DEVELOPER

Overloading an Action Control in a function

Follow these steps to overload an Action Control, which means extending and changing the Action Control’s properties in context of a function:

  1. Open the relevant function. See Open Object Dialogue for more information.

  2. Click Control Bars overloaded in function maintenance Control Bars overloaded in function maintenance   icon on the main PROIV toolbar.

  3. The Maintain Control Bars and Action Controls window displays all of the Control Bars and Action Controls in the function. The Control Bars are grouped by type and their associated Action Controls display when you click the Action Controls tab.

  4. Select the relevant Control Bar Type tab: Drop-Down Menus, Toolbars, Right-Click Menus or Sub Menus. Select the Control Bar you want to overload.

Note: You can click the Action Controls tabAction Controls tab to view the details of the Action Control’s behaviour in the function.

On this screen you can maintain the properties of the Action Controls by clicking the Properties . The list can be filtered.

Item

Description

Logic

Click to display the logic attached to the selected Action Control in the Logic Editor. The is only enabled if the selected Action Control has logic attached to it.

Display Inherited Action Controls?

 

   None

Displays Action Controls for only the selected cycle only.

   Parent Cycles(s) Only

Displays Action Controls in the selected cycles and any cycles it is nested in.

   References in Function

Displays Action Controls in the function as a whole.

 

  1. Click Properties and a list of the associated Action Controls displays.

Item

Description

Action Control

Name of the Action Control. There is also an optional green tick to the left of the name. This signifies if the Action control has any properties overloaded in the function.

Style

Type of Action Control. See Action Controls for more information.

V

Green tick signifies that the Action Control is visible. Red cross signifies that the Action Control is invisible.

E

Green tick signifies that the Action Control is enabled. Red cross signifies that the Action Control is disabled.

Icon and Caption

Displays the icon and/or caption associated with the Action Control.

Action

Details the actions that are assigned to the Action Control. For example, you can assign a Function Key to a Simple Action Control, or assign a sub menu to a Drop Down Action Control.

Description

Full description of the Action Control.

Move Up

Select the Re-order check box to enable the Move Up . Select the Action Control that you want to move and click the appropriate

Move Down

Select the Re-order check box to enable the Move Down . Select the Action Control that you want to move and click the appropriate

  1. Select the relevant Action Control.

  2. Click Properties . The Properties for Action Control window displays.

Note: To display Action Controls you must ensure they are Visible and Enabled.

  1. Select the Overload Properties and Actions check box to change (overload) the Action’s properties. This displays small check boxes to the left of fields and the Overload State check box. Click here here to see an example screenshot of an overloaded Action Control.

    Overloaded Action Control

  2. Enable the fields you want to overload by selecting the appropriate check box. This clears the existing entry and allows you to enter the new details for the field.

Item

Description

Overload Properties and Actions?

Select check box to change (overload) the Action’s properties. This displays small check boxes to the left of fields and displays the Overload State check box.

Description

Displays the Action Control description.

Control Style

Displays the Action Control‘s style: Simple, Dropdown, Check, Split, or Separator.

Overload State

Check to overload the state of the Action Control.

Visible

Check to make the Action Control visible. Uncheck to make the control invisible.

Enable

Check to make the Action Control enabled. Uncheck to make the control disabled.

Caption

Displays text when the Action Control is a toolbar or menu item.

Tooltip

Tooltip text for the Action Control.

Icon Name

Filename used for the Action Control icon.

Alternate Key

Set up an alternative hotkey for the Action Control.

  1. Click Actions tab to change any actions.

Item

Description

Drop-Down Menu - Control Bar Name

Enabled if the Action Control has a style of either Dropdown or Split. Enables you to select a Control Bar which displays when the Action Control is clicked.

Action Definition - Action Type

Enabled if the Action Control has a style of either Simple or Check.

   None

Set to None if you do want the Action Control to trigger an action.

   Local Logic

Assigns the Action Control to a Logic ID in logic.

   Global Logic

Assigns the Action Control to Global Logic. Selecting this option enables the Global Logic drop down. Click ellipsis to open the Standard Validation Selection window to search for and locate the appropriate Global Logic. Global logic is reusable procedural code.

   Call a Global Function

Assigns the Action Control to a Global Function. Selecting this option enables the Called Function and Map Name drop downs. Click ellipsis to open the Function Selection window to search for and locate the appropriate Global Function. For example, you can set up a series of Action Controls with an assigned style of Simple, on a Control Bar with an assigned type of Toolbar, to open various global functions.

   Action a Function Key

Assigns the Action Control to a Function Key. For example, you can set up an Action Control with an assigned style of Simple and assign a suitable graphic for adding a record, and then assign the function key of 20 to the Action Control. This changes the mode to Add.

   Link to a Function

Assigns the Action Control to a base level function. Selecting this option enables the Link Function drop down. Click ellipsis to open the Function Selection window to search for and locate the appropriate function. For example, you can set up a series of Action Controls with an assigned style of Simple, on a Control Bar with an assigned type of Toolbar, to open various base level functions.

  1. Click OK to exit the screen.

Comment on this topic

Topic ID: 500500