(form "00585" (size 52 16)
  (help "00585_TIP_0")
  (heading "STRING TO SHAPEFILE")
  (label (position  2  3) (text " Define the string files to convert"))
  (label (position  2  4) (text " Location"))
  (label (position  2  5) (text " ID range"))
  (label (position  2  6) (text " Shape type determined by"))
  (label (position  2  9) (text " Shape type"))
  (label (position 16  9) (text "File Prefix"))
  (label (position  2 10) (text " Point"))
  (label (position  2 11) (text " Arc"))
  (label (position  2 12) (text " Polygon"))
  (label (position  2 13) (text " MultiPoint"))
  (field "locn" (position 15  4) (display_length 26) (input allowed)
    (max_length 26)
    (file (link "id_range") (extension "*.str"))
    (help "00585_TIP_1"))
  (field "id_range" (position 15  5) (display_length 32) (input allowed)
    (format range) (null disallowed) (max_length 32)
    (help (field "locn")))
  (field "deter" (position 27 6) (display_length 12) (input allowed)
    (value_in "field" "string range")
    (default "string range") (translate lower) (null allowed) (max_length 12)
    (help "00585_TIP_2"))
  (field "label0" (position 34 9) (display_length 12)
    (foreground (user_option "form_foreground"))
    (background) (input disallowed)
    (value_in "String Range")
    (browser none)
    (default "String Range") (dependency (value "deter") == "string range"))
  (field "label1" (position 2 7) (display_length 16)
    (foreground (user_option "form_foreground"))
    (background) (input disallowed)
    (default "Shape field     D") 
    (dependency (value "deter")=="field"))
  (field "field" (position 15 7) (display_length 5) (input allowed)
    (default "1") (translate upper) (format integer_4)
    (null allowed) (max_length 4)
    (dependency (value "deter")=="field")
    (help "00585_TIP_3"))
  (field "point" (position 15 10) (display_length 10) (input allowed)
    (null allowed) (max_length 8)
    (file (extension trim "*.shp"))
    (help "00585_TIP_4"))
  (field "point_r" (position 29 10) (display_length 20) (input allowed)
    (max_length 32) (dependency (value "deter") == "string range")
    (format range)
    (help "00585_TIP_5"))
  (field "arc" (position 15 11) (display_length 10)
   (input allowed)
    (null allowed) (max_length 8)
    (file (extension trim "*.shp"))
    (help "00585_TIP_6"))
  (field "arc_r" (position 29 11) (display_length 20) (input allowed)
    (max_length 32) (dependency (value "deter") == "string range")
    (format range)
    (help "00585_TIP_7"))
  (field "polygon" (position 15 12) (display_length 10) (input allowed)
    (null allowed) (max_length 8)
    (file (extension trim "*.shp"))
    (help "00585_TIP_8"))
  (field "polygon_r" (position 29 12) (display_length 20) (input allowed)
    (max_length 32) (dependency (value "deter") == "string range")
    (format range)
    (help "00585_TIP_9"))
  (field "multipoint" (position 15 13) (display_length 10) (input allowed)
    (null allowed) (max_length 8)
    (file (extension trim "*.shp"))
    (help "00585_TIP_10"))
  (field "multipoint_r" (position 29 13) (display_length 20) (input allowed)
    (max_length 32) (dependency (value "deter") == "string range")
    (format range)
    (help "00585_TIP_11"))
  (default_buttons)
)
