(form "00611" (size 52  14)
  (help "00611_TIP_0")

  (heading "EXPORT TO DATAMINE")

  (label (position  2  3) (text "Define the strings to be converted"))
  (label (position  2  4) (text "Location"))
  (label (position  2  5) (text "ID Number"))
  (label (position  2  6) (text "File type"))
  (label (position  2  8) (text "Define the Datamine files to be created"))
  (label (position  2  9) (text "Points filename"))

  (field "triangle_filename_label" (position  2  10) 
    (display_length 20)
    (foreground) (background)
    (dependency (value "file_type") == "dtm")
    (value_in "Triangle filename")
    (default "Triangle filename")
    (browser none)
  )

  (field "object_fieldname_label" (position  2  11)
    (display_length 20)
    (foreground) (background)
    (dependency (value "file_type") == "dtm")
    (value_in "Object field name" )
    (default "Object field name")
    (browser none)
  )

  (field "string_loc" (position 20  4) (display_length 26) (input allowed)
    (null allowed) (max_length 26) (translate lower)
    (file (link "file_id") (extension "*.str,*.dtm"))
    (help "00611_TIP_1"))

  (field "file_id" (position 20  5) (display_length 16) (input allowed)
    (format real_8) (null disallowed) (max_length 16)
    (help "00611_TIP_2"))

  (field "file_type" (position 20  6) (display_length 6) (input allowed)
    (translate lower) (null disallowed) (max_length 6)
    (value_in "string" "dtm")
    (help "00611_TIP_3"))

  (field "pnt_file" (position 22 9) (display_length 26) (input allowed)
    (null allowed) (max_length 32) 
    (file output) (translate lower)
    (help "00611_TIP_4"))

  (field "tri_file" (position 22 10) (display_length 26) (input allowed)
    (null allowed) (max_length 32) 
    (file output) (translate lower)
    (dependency (value "file_type") == "dtm")
    (help "00611_TIP_5"))

  (field "tri_object" (position 22 11) (display_length  15) (input allowed)
    (translate upper) (null allowed) (max_length 8)
    (dependency (value "file_type") == "dtm")
    (help "00611_TIP_6"))

  (default_buttons)
)
