(form "20048" (size 55 20) 
  (heading "SECTIONS FROM BLOCK MODEL")

  (label (position  2  3) 
     (text "Define the section files to create :"))  

  (field "location" (position 13  4) (display_length 14) (input allowed)
    (max_length "FIO_MAX_LOCATION_LENGTH") 
    )
  (field "extract_type" (position 13  5) (display_length 14) (input allowed)
    (max_length 16)
    (value_in "Block Outlines" "Centroids" ) (default "Block Outlines")
    (null disallowed) 
    )

  (field "tolerance" (position 13  6) (display_length 14) (input allowed)
    (max_length 26) 
    (default "0")
    (dependency (value "extract_type") == "Block Outlines")
    )

  (field "scr_coords" (position 13  7) (display_length 14) (input allowed)
    (max_length 14)
    (value_in "Section View" "Real World") (default "Section View")
    (null disallowed)
    )

 (field "constrain" (position 13  8) (display_length 1) (input allowed)
    (max_length 1)
    (value_in "Y" "N") (default "Y")
    (translate upper) (null disallowed)
    )

  (field "report_attributes" (position 43  4) (display_length 1) (input allowed)
    (max_length 1)
    (value_in "Y" "N") (default "Y")
    (translate upper) (null disallowed)
    )
 
  (scroll_block "attributes" (position 32 6) (size 16 3)
     (extra 0 1)
     (scroll_size 16 50)
     (repeat interactive (grow 0 1) (instances 1 (min 1) (max 50)))
    (top
      (label
          (position 1 0)
          (text "Output Attributes")
        )
    )
        
    (main
      (field "attribute" (position 1 0) (display_length 12) (input allowed)
        (max_length "BM_MAX_ATT_NAME_LEN") (null allowed)
        (dependency (value "report_attributes") == "N")
        )
    )
  )

  (field "class_att_name" (position 15 11) (display_length 15) (input allowed)
    (max_length "BM_MAX_ATT_NAME_LEN") (null disallowed)
    )
  (field "class_att_rng" (position 15 12) (display_length 15) (input allowed)
    (format range) (max_length "MAX_RNG_LENGTH")
    )

  (field "class_att_type" (position 32 11) (display_length 12) 
       (background)    
       /* (value_in "Character" "Numeric")    */
       (input disallowed) )

  (scroll_block "class_char_list" (position 13 15) (size 24 3)
    (extra  0  1)
    (scroll_size 24 60)
    (repeat interactive (grow  0  1) (instances  1 (min  1) (max 60)))
    (top
      (label (position  1 0) (text "Character Value"))
      (label (position  16 0) (text "String No."))
    )
    (main
      (field "char_val" (position  1  0) (display_length  10) 
        (input allowed)
        (max_length 50) 
        (null allowed)
        )
      (field "string_no" (position  16  0) (display_length  5) 
        (input allowed) (low_bound 1) (high_bound 32000) (default "1")
        (max_length 5) (format integer_4)
        (null disallowed)
        (help (field "char_val")))
    )

  )

    (field "section_face_block" (position 17  0) 
      (display_length 30) (input allowed)
      (max_length 16)
      (value_in "Previous" "Next" "Both")
      (default "Previous")
      (null disallowed) 
      )

  (default_buttons)
)
