(form "00383" (size 80  20)
  (help "00383_TIP_0")
  (heading "TALPAC HAUL ROUTE PARAMETERS")
  (label (position  2  3) (text "Title"))
  (field "title" (position 12  3) (display_length 40) (input disallowed)
    (null allowed) (max_length 49)
  )

  (label (position 10 5) (text "Define the haul route parameters"))
  (label (position 2  7) (text "Section"))
  (scroll_block "main" (position  10  8) (size 64 10)
     (extra  8  2)
     (scroll_size 64 250)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 250)))

    (left
      (field "section" (position  1  0) (display_length  3) (input disallowed))
    )

    (top
      (label (position  1  0) (text "Start"))
      (label (position  1  1) (text "Chainage"))

      (label (position 10  0) (text "Section"))
      (label (position 10  1) (text "Length"))
      (label (position 19  0) (text "Gradient"))
      (label (position 19  1) (text " %"))
      (label (position 28  0) (text "Rolling"))
      (label (position 28  1) (text "Resistance"))
      (label (position 37  0) (text "Maximum"))
      (label (position 37  1) (text "Velocity"))
      (label (position 46  0) (text "Final"))
      (label (position 46  1) (text "Velocity"))
      (label (position 55  0) (text "Weight"))
      (label (position 55  1) (text "Carried"))
    )

    (main
      (field "chainage" (position  1  0) (display_length 6) (input disallowed)
        (decimals 1))
      (field "length" (position  10  0) (display_length  6) (input disallowed)
        (decimals 1))
      (field "gradient" (position 19  0) (display_length 6) (input disallowed)
        (decimals 1))
      (field "roll_resist" (position 28  0) (display_length  6) (input allowed)
        (max_length 10)
        (default "2.5")
        (low_bound -100) (high_bound 100)
        (format real_8) (null disallowed)
        (decimals 2)
        (help "00383_TIP_1")
      )
      (field "max_velo" (position 37  0) (display_length  6) (input allowed)
        (max_length 10)
        (default "-1")
        (low_bound -1) (high_bound 100)
        (format real_8) (null disallowed)
        (decimals 1)
        (help "00383_TIP_2")
      )
      (field "final_velo" (position 46  0) (display_length  6) (input allowed)
        (max_length 10)
        (default "-1")
        (null disallowed)
        (decimals 1)
        (help "00383_TIP_3")
      )
      (field "weight" (position 55  0) (display_length  6) (input allowed)
        (max_length 10)
        (low_bound -2) (high_bound 100)
        (default "-1")
        (null disallowed)
        (decimals 1)
        (help "00383_TIP_4")
      )
    )
  )

  (default_buttons)
)
