Functionality Enhancement

To start calculation algorithms, execute Fore-based of Fore.NET-based units, open repository object, create a custom button.

To use custom buttons:

  1. Create a calculation algorithm, Fore unit or Fore.NET/JS-function or repository object. The following can be selected as repository object to be opened: dictionary, regular report, data entry form.

  2. Create a custom button.

  3. Apply custom button.

  4. Set up the ribbon to structure added buttons.

Creating Custom Buttons

To create custom buttons, use the Custom Buttons dialog box.

To open the dialog box

To create custom buttons:

  1. Add a custom button, enter its name and determine type.

  2. Determine settings for the selected type: calculation algorithm, Fore/JS functions unit or opening repository object.

  3. Load icon for button and set up its size.

  4. Select unit that can be used for prehandler, posthandler, managing button activity and for executable method/function on creating button of the Fore/JS Function Unit type.

Add a custom button

Edit button

Set up calculation algorithm

Set up Fore/JS function unit

Set up repository object opening

Load and set up icon size

Set up prehandler

Set up posthandler

Manage button activity

Delete button

Applying Custom Buttons

Created custom buttons are displayed on the Custom Functions ribbon tab. The tab becomes available after the custom button is added.

On clicking the button, actions are executed according to settings made on creation:

If additional options were set for the button:

See also:

Building Data Entry Form | Working with Ready Data Entry Form