(form "01100" (size 70 19)
  (heading "MULTIPLE DTM SECTIONS")
    (scroll_block "dtm_specs"
        (position 2 5)
        (size 65 7)
        (extra 0 2)
        (scroll_size 65 20)
        (repeat interactive
            (grow 0 1)
            (instances 1
                (min 1)
                (max 50)
            )
        )
        (top
            (label
                (position 1 0)
                (text "DTM Specifications")
            )
            (label
                (position 26 0)
                (text "Section")
            )
            (label
                (position 40 0)
                (text "Boundary String")
            )
            (label
                (position 1 1)
                (text "Location")
            )
            (label
                (position 13 1)
                (text "Id")
            )
            (label
                (position 19 1)
                (text "Field")
            )
            (label
                (position 26 1)
                (text "Type")
            )
            (label
                (position 34 1)
                (text "Include")
            )
            (label
                (position 40 1)
                (text "Location")
            )
            (label
                (position 52 1)
                (text "Id")
            )
            (label
                (position 58 1)
                (text "String")
            )
        )
        (main
            (field "dtm_loc"
                (position 1 0)
                (display_length 9)
                (input allowed)
                (max_length 30)
                (file (link "dtm_id(0)") (extension "*.dtm"))
                )
            (field "dtm_id"
                (position 13 0)
                (display_length 3)
                (format real_8)
                (input allowed)
                (max_length 30)
                )
            (field "dtm_field"
                (position 19 0)
                (display_length 4)
                (input allowed)
                (max_length 30)
                (value_in "Z" "D1" "D2" "D3" "D4" "D5" "D6" "D7" "D8" "D9" 
                          "D10" "D11" "D12" "D13" "D14" "D15" "D16" "D17" 
                          "D18" "D19" "D20" "D21" "D22" "D23" "D24" "D25" 
                          "D26" "D27" "D28" "D29" "D30" "D31" "D32" "D33" 
                          "D34" "D35" "D36" "D37" "D38" "D39" "D40" "D41" 
                          "D42" "D43" "D44" "D45" "D46" "D47" "D48" "D49" 
                          "D50" "D51" "D52" "D53" "D54" "D55" "D56" "D57" 
                          "D58" "D59" "D60" "D61" "D62" "D63" "D64" "D65" 
                          "D66" "D67" "D68" "D69" "D70" "D71" "D72" "D73" 
                          "D74" "D75" "D76" "D77" "D78" "D79" "D80" "D81" 
                          "D82" "D83" "D84" "D85" "D86" "D87" "D88" "D89" 
                          "D90" "D91" "D92" "D93" "D94" "D95" "D96" "D97" 
                          "D98" "D99" "D100")
                (default "Z")
                )
            (field "sect_opt"
                (position 26 0)
                (display_length 4)
                (input allowed)
                (max_length 30)
                (value_in "Open" "Closed")
                (default "Closed")
                )
            (field "sect_inc"
                (position 34 0)
                (display_length 2)
                (max_length 30)
                (input allowed)
                (value_in "Y" "N")
                (default "Y")
                )
            (field "bdy_loc"
                (position 40 0)
                (display_length 9)
                (input allowed)
                (max_length 30)
                (file (link "bdy_id(0)") (extension "*.str"))
                )
            (field "bdy_id"
                (position 52 0)
                (display_length 3)
                (format real_8)
                (input allowed)
                (max_length 30)
                )
            (field "bdy_str"
                (position 58 0)
                (display_length 3)
                (format integer_4)
                (input allowed)
                (max_length 30)
                )
        )
    )
    (label 
        (position 3  13) 
        (text "Define files to create"))
    (label 
        (position 3 14) 
        (text "Location")
    )
    (label 
        (position 3 15) 
        (text "Section by")
    )
    (label 
        (position 3 16) 
        (text "Section values")
    )
    (field "secloc" 
      (position 13 14) 
      (display_length 16) 
      (input allowed)
      (null disallowed) 
      (max_length 26)
      (file output (extension "*.str"))
      )
    (field "sect_type" 
      (position 13 15) 
      (display_length 10) 
      (input allowed)
      (null disallowed) 
      (max_length 10)
      (value_in "Interval" "Range")
      (default "Interval")
      )
    (field "secint" 
      (position 13 16) 
      (display_length 15) 
      (input allowed)
      (null disallowed) 
      (max_length 26)
      )
    (label 
        (position 38  13) 
        (text "Axis Coordinates"))
    (label 
        (position 38 14) 
        (text "Y")
    )
    (label 
        (position 53 14) 
        (text "Y")
    )
    (label 
        (position 38 15) 
        (text "X")
    )
    (label 
        (position 53 15) 
        (text "X")
    )
    (label 
      (position 38  16) 
      (text "Section")
    )
    (label 
      (position 58  16) 
      (text "to this axis")
    )
    (field "axis_y1" 
      (position 41 14) 
      (display_length 10) 
      (format real_8)
      (input allowed)
      (null disallowed) 
      (max_length 16)
      )
    (field "axis_y2" 
      (position 56 14) 
      (display_length 10) 
      (format real_8)
      (input allowed)
      (null disallowed) 
      (max_length 16)
      )
    (field "axis_x1" 
      (position 41 15) 
      (display_length 10) 
      (format real_8)
      (input allowed)
      (null disallowed) 
      (max_length 16)
      )
    (field "axis_x2" 
      (position 56 15) 
      (display_length 10) 
      (format real_8)
      (input allowed)
      (null disallowed) 
      (max_length 16)
      )
    (field "axis_orient" 
      (position 45 16) 
      (display_length 10) 
      (input allowed)
      (null disallowed) 
      (max_length 10)
      (value_in "Perpendicular" "Parallel")
      (default "Perpendicular")
      )

    (default_buttons)
)
