(form "12038" (size 58 20)
  (heading "GRAPHICS EXTRACT PLANS FOR PLOTTING")
  (label (position  2  3) (foreground (user_option "form_text_highlight"))
     (text "Define the plan files to create"))
  (label (position  2  4) (text "Location"))
  (label (position  2  5) (text "Z range"))
  (label (position  2  7) (foreground (user_option "form_text_highlight"))
     (text "Define the plan extents and the heights above and below the plane"))
  (label (position  7  8) (text "Y extents"))
  (label (position 24  8) (text "X extents"))
  (label (position 43  8) (text "Z extents"))
  (label (position  2  9) (text "Min"))
  (label (position  2 10) (text "Max"))
  (label (position 36  9) (text "Below"))
  (label (position 36 10) (text "Above"))
  (label (position  2 12) (text "Downhole datapoint interval"))
  (label (position  2 13) (text "Interval for plotting depths"))
  (label (position  2 14) (text "Select drill holes graphically"))
  (label (position  2 16) (foreground (user_option "form_text_highlight"))
    (text "Define the sample tables")
  )
  (label (position 32 16) (foreground (user_option "form_text_highlight"))
    (text "Define the geology tables"))
  (field "loc" (position 11  4) (display_length 26) (input allowed)
    (translate lower) (null allowed) (max_length 26)
    (file output (link "secrange") (extension "*.str"))
    )
  (field "secrange" (position 11  5) (display_length 26) (input allowed)
    (max_length 32)
    (format range) (null disallowed)
    )
  (field "nor1" (position  7  9) (display_length  10) (input allowed)
    (max_length 16)
    (translate upper) (format real_8) (null disallowed)
    )
  (field "nor2" (position  7 10) (display_length  10) (input allowed)
    (max_length 16)
    (translate upper) (format real_8) (null disallowed)
    )
  (field "eas1" (position 24  9) (display_length  10) (input allowed)
    (max_length 16)
    (translate upper) (format real_8) (null disallowed)
    )
  (field "eas2" (position 24 10) (display_length  10) (input allowed)
    (max_length 16)
    (translate upper) (format real_8) (null disallowed)
    )
  (field "dis1" (position 43  9) (display_length  10) (input allowed)
    (max_length 16)
    (translate upper) (format real_8) (null disallowed)
    )
  (field "dis2" (position 43 10) (display_length  10) (input allowed)
    (max_length 16)
    (translate upper) (format real_8) (null disallowed)
    )
  (field "depths" (position 35 12) (display_length  3) (input allowed)
    (low_bound 0.01) (high_bound 1000)
    (translate upper) (format real_8) (null disallowed) (max_length 5)
    )
  (field "pldepths" (position 35 13) (display_length  3) (input allowed)
    (low_bound 0) (high_bound 1000)
    (translate upper) (format real_8) (null disallowed) (max_length 5)
    )
  (field "select" (position 35 14) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    ) 
  (scroll_block "sample_tables" (position 2  17) (size 15  2)
    (extra  0  0)
    (scroll_size 15 5)
    (repeat interactive (grow  0  1) (instances  1 (min  1) (max 5)))
    (main
      (field "sample_table" (position  1  0) (display_length 11) 
        (input allowed)
        (max_length 18)
        (null allowed)
        )
    )
  )
  (scroll_block "geology_tables" (position 32  17) (size 15  2)
    (extra  0  0)
    (scroll_size 15 5)
    (repeat interactive (grow  0  1) (instances  1 (min  1) (max 5)))
    (main
      (field "geology_table" (position  1  0) (display_length 11) 
        (input allowed)
        (max_length 18)
        (null allowed)
        )
    )
  )
  (default_buttons)
)
