TB API

TB API

Release Date: 11/25/2020
Versions: 8.5 and Higher

Toolbar Functionality

This API affects the appearance and functionality of the Amigos buttons (Notes, Attributes, Contacts, Links, Events, General Events) and Special Functions button on the Elliott legacy screen toolbar:


Following are the details of this API:
  • TB,00:  Clear the Amigo key information.  Reset the state (hot = red) of the Amigo bitmaps.
  • TB,01Set the Amigo key information from PASSING-NOTE-FILE-NAME and PASSING-NOTE-FILE-REF-NUMBER.  Set the state of all Amigos buttons if the associated records exist.
  • TB,10:  Clear any special function information for the program in TB-SF-PROGRAM-ID.
  • TB,11,x:   Add a special function.  It stays available until it is removed. TB-SF-Program_ID contains the program to call; TB-SF-Menu-Text contains the menu text; x contains the hot-key letter; TB-SF-Passing-Parameters contains any passing parameters; Screen-SF-DD-Parameters, if it starts with "DD," contains any DD parameters.
  • TB,20,nn:  Disable a specific toolbar button
  •                   nn:  01 = Note, 02 = Attribute, 03 = Contact, 04=Event, 05 = Link01
  • TB,21,nn:   Enable a specific Amigo Toolbar button and, optionally, specify a PASSING-NOTE-FILE-NAME and PASSING-NOTE-FILE-REF-NUMBER.
  • TB,31,01: Allow changing notes by calling the Notes program, using PASSING-NOTE-FILE-NAME, PASSING-NOTE-FILE-REF-NUMBER. Show the Note window even if there are no matched notes.
  • TB,31,01,10,tttttt:  Call the Notes program, using PASSING-NOTE-FILE-NAME, PASSING-NOTE-FILE-REF-NUMBER and, optionally, a specific NoteType (tttttt). Show the Note window only if there is at least one matched note.
  • TB,31,01,11,tttttt: Same as TB,31,01,10,tttttt except that any notes will be presented as ReadOnly, with no ability to add, modify or delete any note. Show the Note window only if there is at least one matched note.
  • TB,31.02:  Call the Attribute program, using PASSING-NOTE-FILE-NAME, PASSING-NOTE-FILE-REF-NUMBER.
  • TB,31,03:  Call the eContacts program using PASSING-NOTE-FILE-NAME, PASSING-NOTE-FILE-REF-NUMBER.
  • TB,31,04:  Call the Events program using PASSING-NOTE-FILE-NAME, PASSING-NOTE-FILE-REF-NUMBER.
  • TB,31,05:  Call the Links program using PASSING-NOTE-FILE-NAME, PASSING-NOTE-FILE-REF-NUMBER.
  • TB,98:   Delete all associated Amigo records for the current Amigo. 
  • TB,99:   Delete all associated Amigo records for the Amigo specified in PASSING-NOTE-FILE-NAME and PASSING-NOTE-FILE-REF-NUMBER.
JEG


    • Related Articles

    • CV API

      Release Date: 10/31/2019 This API allows the programmer to determine whether or not thie current company's .DAT files have been converted to .BTR files. Screen-Parameters: CV Check the converted status for the current company. CV,nn Check the ...
    • AP API

      AP API This API returns various values from the Shared Memory Area. For example: MOVE "AP" TO SCREEN-PARAMETERS MOVE "EDITOR" TO SCREEN-LITERAL PERFORM SCREEN-ROUTINE This returns the user’s preferred Editor in SCREEN-ALPHA-FIELD. The following ...
    • DD API Changes (V9.0)

      DD: Drill Down The Drill Down API allows the developer to drill down to another Elliott application. The information provided in SCREEN-PARAMETERS will give the system the correct information to determine if the user has rights to the application ...
    • FA API Changes (V9.0)

      FA: File Access (Without File Handling) This API can be used to retrieve an individual field from a specific record in a file without specifying the file in the program and without opening and closing the file. In its simplest form, one can, for ...
    • Avalara Source Code Integration - AV API Call

      Release Date: 11/16/21 Revised: 05/23/22 Version: 8.6 and Above This article is intended for Elliott Business Software developers. This API call will allow the programmer to pass a value to indicate which Avalara function is to be performed. The ...