(form "00070" (size 41  11)
  (heading "SET THE DESIGN GRADIENT")
  (label (position  2  3) (text "Units"))
  (field "units" (position 14  3) (display_length  13) (input allowed)
    (value_in "angle" "percentage" "ratio")
     (null allowed) (max_length 10))
  (label (position  2  4) (text "Gradient"))
  (field "show_unit1" (position 32 4) (display_length 16)
    (foreground (user_option "form_foreground"))
    (background)(value_in "degrees") (max_length 16)
    (default "decimal degrees") (input disallowed)
    (dependency (value "units") == "angle"))

  (field "design_grade" (position 14  4) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length "CNV_MAX_FMT_LEN_DBL")
    )
  (label (position 2  6) (text  "angle"))
  (field "unit1" (position 14  6) (display_length 16) (input disallowed)
    (format real_8) (null disallowed) (max_length "CNV_MAX_FMT_LEN_DBL"))
  (label (position 32 6) (text "degrees"))
  (label (position 2  7)(text "percentage" )) 
  (field "unit2" (position 14  7) (display_length 16) (input disallowed)
    (format real_8) (null disallowed) (max_length "CNV_MAX_FMT_LEN_DBL"))
  (label (position 32 7) (text "%"))
  (label (position 2  8)(text "ratio")) 
  (field "unit3" (position 14  8) (display_length 16) (input disallowed)
    (format real_8) (null disallowed) (max_length "CNV_MAX_FMT_LEN_DBL"))
  (label (position 9 8) (text "1 in"))
  (default_buttons)
)
