Modify Declarations for Each of the Icons Contained in an Evenly Sized and Spaced Tool Bar

This functionality is supported only if you are using the Classic Agent.

  1. In the window declarations file, make as many copies of this recorded declaration as there are discrete objects.
  2. You can retain the original class (CustomWin) if the functionality inherited from the AnyWin class is sufficient. Or you can specify the name of a class you create that contains the added functionality you need.
  3. Change the identifier to some string that represents the icon’s action.
  4. Append the tag with the icon’s location suffix in the tool bar. You express the location using this syntax:
    (column:total-columns, row:total-rows)
    For example, you specify the icon in the third column, first row, like this:
     (3:26, 1:1)
    You append this location to the tag with the forward slash (/) character.