(form "45001" (size 50 9)
  (help "45001_TIP_0")

  (heading "SLICE INFORMATION")

  (label (position  2 3) (text "Spacing"))
  (label (position  2 4) (text "Number"))
  (label (position  2 5) (text "First slice dip"))
  (label (position  2 6) (text "Last slice dip"))

  (field "spacing" (position 23 3) (display_length 10)
    (default "1.0")
    (format real_8)
    (input allowed)
    (low_bound 0.1)
    (null disallowed)
    (max_length 8)
    (translate upper)
    (help "45001_TIP_1")
  )

  (menu (position 35 4) (size 10 1)
    (item (text "Calculate Spacing")
          (function "Spacing")
    )
  )

  (field "num_sections" (position 23 4) (display_length 10)
    (default "2")
    (format integer_4)
    (input allowed)
    (low_bound 2)
    (max_length 13)
    (null disallowed)
    (help "45001_TIP_2")
  )

  (menu (position 35 3) (size 10 1)
    (item (text "Calculate no. of Slices")
          (function "Sections")
    )
  )

  (field "first" (position 23 5) (display_length 10)
    (default "90.0")
    (format decimal_angle)
    (high_bound 1.570796327)
    (input allowed)
    (low_bound -1.570796327)
    (max_length 16)
    (null disallowed)
    (translate upper)
    (help "45001_TIP_3")
  )

  (field "last" (position 23 6) (display_length 10)
    (default "90.0")
    (format decimal_angle)
    (high_bound 1.570796327)
    (input allowed)
    (low_bound -1.570796327)
    (max_length 16)
    (null disallowed)
    (translate upper)
    (help "45001_TIP_4")
  )

  (label (position 23 7)
    (text "Slice dip angles")
  )
  (field "slice_dip_angles" (position 40  7) (display_length 12) (input allowed)
    (translate lower)  (max_length 20)

    (default "absolute")
    (value_in "absolute" "relative")
      (help "SLICE_DIP_ANGLES_TIP"
      )
  )

  (field "angle_units" (position 35 5) (display_length 10)
    (foreground (user_option "form_foreground")) (background)
    (default "DEGREES")
    (input disallowed)
    (max_length 10)
  )

  (field "angle_units2" (position 35 6) (display_length 10)
    (foreground (user_option "form_foreground")) (background)
    (default "DEGREES")
    (input disallowed)
    (max_length 10)
  )

  (default_buttons)
)
