(form "12011" (size 47 16)
  (help "12011_TIP_0")
  (heading "DEFINE GEOLOGY FIELDS")
  (label (position  2  3) (text "Table"))
  (label (position  2  4) (text "Combine adjacent samples"))
  (label (position  2  6) (foreground (user_option "form_text_highlight"))
     (text "Define the geology fields and their plotting characteristics"))
  (field "geotable" (position  9  3) (display_length 18)
    (background) (input disallowed))
  (field "combgeo" (position 30  4) (display_length  1) (input allowed)
    (value_in "Y" "N")
    (translate upper) (null allowed) (max_length 1)
    (help "12011_TIP_1"))
  (scroll_block (position  1 10) (size 40  5)
     (extra  0  2)
     (scroll_size 40 10)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 10)))
    (main)
    (top
      (label (position  1  0) (text "Field"))
      (label (position  1  1) (text "Name"))
      (label (position 15  0) (text "Geology"))
      (label (position 15  1) (text "Location"))
      (label (position 26  0) (text "Box"))
      (label (position 26  1) (text "Size")))
    (main
      (field "geofield" (position  1  0) (display_length 10) (input allowed)
        (null allowed) (max_length 10)
        (help "12010_TIP_1"))
      (field "boxpos" (position 15  0) (display_length  3) (input allowed)
        (value_in "left" "right")
        (max_length 5)
        (initialise (value "boxpos(-1)"))
        (default "left")
        (translate lower) (null allowed)
        (help "12011_TIP_3"))
      (field "boxsize" (position 26  0) (display_length  8) (input allowed)
        (low_bound 0) (high_bound 99999)
        (initialise (value "boxsize(-1)"))
        (default "5")
        (translate upper) (format real_8) (null disallowed) (max_length 8)
        (help "12011_TIP_4"))
     )
  )

  (default_buttons)
)
