(form "00320" (size 45 22) (mismatch ignore)
  (heading "Graphics drill hole layout")
  (field "colour" (position 14  4) (display_length 16) (input allowed)
    (format colour)
    (translate lower) (null allowed) (max_length 32)
    )
  (field "show_hole_id" (position 14 5) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "Y")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "text_height_label"
          (position  2 6)
          (display_length 15)
          (background (user_option "form_background"))
          (default "Text height")
          (input disallowed)
          (dependency (value "show_hole_id") == "Y"))
  (field "text_height" (position 14 6) (display_length  4) (input allowed)
    (low_bound 0.001) (high_bound 999)
    (max_length 6)
    (translate upper) (format real_8) (null disallowed)
    (dependency (value "show_hole_id") == "Y"))
  (field "units_label"
          (position  24 6)
          (display_length 5)
          (background (user_option "form_background"))
          (default "units")
          (input disallowed)
          (dependency (value "show_hole_id") == "Y"))
  (field "text_units" (position 32  6) (display_length  4) (input allowed)
    (value_in "oru" "sru")
    (translate lower) (null allowed) (max_length 4)
    (help (field "text_height"))
    (dependency (value "show_hole_id") == "Y"))
  (field "symbol" (position 14  7) (display_length  4) (input allowed)
    (value_in "*" "x" "+" "." "()" "@" "(.)" "(x)" "(+)" "(())" "[]" 
              "[*]" "[.]" "[x]" "<>" "<*>" "<.>" "<+>" "/\\" "/*\\" 
              "/.\\" "\\/" "\\*/" "\\./" "#" "++" "/ \\" "/_\\" 
              "/__\\" "/_^_\\" "/" "\\" "Y" "Z")
    (max_length 5)
    (translate lower) (null allowed)
    )
  (field "symbol_size" (position 32  7) (display_length  4) (input allowed)
    (low_bound 0.001) (high_bound 999)
    (translate upper) (format real_8) (null disallowed) (max_length 4)
    )
  (field "append" (position 23  8) (display_length  1) (input allowed)
    (value_in "A" "R")
    (translate upper) (null allowed) (max_length 1) 
    )
  (field "rescale" (position 23  9) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "show_trace" (position 23  10) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    )
  (field "angles_at_collar_label"
          (position  2 11)
          (display_length 28)
          (background (user_option "form_background"))
          (default "Show dip and azimuth at collar")
          (input disallowed)
          (dependency (value "show_trace") == "N"))
  (field "angles_at_collar" (position 23 11) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (default "N")
    (translate upper) (null allowed) (max_length 1)
    (dependency (value "show_trace") == "N"))

  (scroll_block (position  3 15 ) (size 22  5)
     (extra  0  1)
     (scroll_size 22 20)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 20)))
    (main)
    (top
      (label (position  1  0) (text "Field name")))
    (main
      (field "field" (position  1  0) (display_length 18) (input allowed)
        (null allowed) (max_length 18)
      ))
  )

  (default_buttons)
)
