Adding an expand/collapse control for the Trip Folder Stops grid

While working in the Trip Folder, updating the status of each trip as it progresses to completion, a dispatcher’s attention will most likely be focused on the Stops grid of the Trip Folder, rather than the Order or Movement information in the Header.

image1

If the trip has multiple stops and commodities, the dispatcher might need to scroll to see all the data in the bottom grid. Instead, a system administrator can add an [Expand Stops] toggle control to the Trip Folder that allows the dispatcher to quickly enlarge the Stops grid.

image2

Increasing the size of the Stops grid would make more of the stops and commodities visible without the need to scroll. A scroll bar is added to the header.

image3

When you click on the control:

  • The header portion of the window collapses to show only the Asset Assignment information. The Order and Movement sections of the header are hidden from view.

  • The Stops portion of the window expands so that you can easily see all the stops and related freight.

  • The name of the control changes from [Expand Stops] to [Expand Header].

Only the Trip Info tab on the Trip Folder lends itself to a collapsed view. If you switch to another tab, you can click on the [Expand Header] control to restore the portions of the window to their original sizes.

Use this procedure to add an [Expand Stops] toggle control to the Trip Folder.

  1. Open the Trip Folder.

  2. If you want to add this control to a saved layout, load the layout.

  3. Right-click on the window and select Toggle QuickDesigner.

  4. Right-click again on the header portion of the Trip Folder, and select Add New Item.

  5. Make the following selections:

    image4

    1. Under Control Type, select TripFolderToggleSplitterButton.

    2. Under Field Group, select Controller.

    3. Under Field, select StopsGridExpanded.

    4. Clear the Auto-label checkbox.

  6. Click OK.
    The control is added.

    image5

  7. Move the control to the desired location.

  8. Right-click on the window and select Toggle QuickDesigner.

  9. Save the layout.

    • If you had loaded a saved layout, right-click on the window and select Save Layout to Database.

    • If this is a new layout, do the following:

      1. Right-click on the window and select Save New Layout to Database.
        The Save Form Layout window opens.

        image6

      2. Enter a name for the new layout.

      3. If you want this layout to be your default layout, select the Set as Default checkbox.

      4. Click OK.

  10. Assign the layout to users or groups of users.