(form "00030" (size 45  6)
  (help "00030_TIP_0")
  (heading "LOCATE POINT BY BEARING,DISTANCE AND DESIGN GRADE")
  (field "design_grade" (position 14  6) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length "CNV_MAX_FMT_LEN_DBL"))
  (label (position  2  3) (text "Bearing"))
  (label (position  2  4) (text "Distance"))
  (field "bearing" (position 20  3) (display_length 16) (input allowed)
    (format dms_angle) (low_bound 0) (high_bound 6.283185307)
    (help "00030_TIP_1"))
  (label (position  2  3) (text "Along"))
  (field "Distance_Option" (position 14  3) (display_length  16) (input allowed)
    (value_in "slope" "horizontal")
    (null disallowed) (max_length 10) (default "horizontal"))
  (field "distance" (position 14  7) (display_length 16) (input allowed)
    (translate upper) (format real_8) (null disallowed) (max_length 16)
    (help "00026_TIP_2"))
  (label (position  2  3) (text "Units"))
  (field "units" (position 14  3) (display_length  16) (input allowed)
    (value_in "angle" "percentage" "ratio") (null allowed) (max_length 10))
  (field "show_unit1" (position 14 5) (display_length 4)
    (foreground (user_option "form_foreground"))(background)
    (value_in "degrees")
    (default "degrees") (input disallowed)
    (dependency (value "units") == "angle"))
  (label (position 2  7) (text  "angle"))
  (field "unit1" (position 14  7) (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)
)
