(form "00384" (size 48  21)
  (help "00384_TIP_0")
  (heading "XPAC POLYGONS FROM STRINGS")
  (label (position  3  3) (text "Define the strings to be converted"))
  (label (position  3  4) (text "Location"))
  (label (position  3  5) (text "ID Range"))
  (label (position  3  6) (text "String Range"))
  (field "string_loc" (position 14  4) (display_length 26) (input allowed)
    (null allowed) (max_length 26) (translate lower)
    (file (link "id_range") (extension "*.str"))
    (help "00384_TIP_1"))
  (field "id_range" (position 14  5) (display_length 26) (input allowed)
    (format range) (null disallowed) (max_length 32)
    (help (field "string_loc")))
  (field "string_range" (position 14  6) (display_length 26) (input allowed)
    (format range) (null allowed) (max_length 32) 
    (help "00384_TIP_2")
  )

  (label (position 3 8) (text "Define the XPAC polygon file to be created"))
  (label (position 3 9) (text "Filename"))
  (field "xpac_file" (position 14  9) (display_length 26) (input allowed)
    (null allowed) (max_length 32) 
    (help "00384_TIP_3")
    (file output) (translate lower)
  )

  (label (position 3 11) (text "Mining Block identifier description fields"))
  (scroll_block "main" (position  3  14) (size 18 5)
     (extra  0 2 )
     (scroll_size 18 5)
     (repeat interactive (grow  0  1) (instances  1 (min  1) (max 5)))

    (top
      (label (position  1  0) (text "Database"))
      (label (position  1  1) (text "Level"))
      (label (position 10  1) (text "D Field"))
    )

    (main
      (label (position  1  0) (text "1"))
      (label (position  1  1) (text "2"))
      (label (position  1  2) (text "3"))
      (label (position  1  3) (text "4"))
      (label (position  1  4) (text "5"))
      (field "dfield" (position 10  0) (display_length 4) (input allowed)
        (null disallowed) (format string_field)
        (help "00384_TIP_4")
      )
    )
  )

  (default_buttons)
)
