(form "00819" (size 80 17)
  (heading "PLOTTING DRAW AREA PROPERTIES"
  )

  (label (position 4 4) (text "ID"))

  (scroll_block (position  11  5) (size 67 10)
     (extra  9  2)
     (scroll_size 67 200)
     (repeat (grow  0  1) (instances  0 (min  0) (max 200)))
    (top
      (label (position 1 1) (text "Description"))
      (label (position 14 1) (text "Sheet"))
      (label (position 23 0) 
        (text "Viewport dimensions from sheet boundaries")) 

      (label (position 24 1) (text "Left"))
      (label (position 31 1) (text "Right"))
      (label (position 37 1) (text "PLT_BOTTOM1"))
      (label (position 43 1) (text "Top"))
      (label (position 51 0) (text "Draw"))
      (label (position 51 1) (text "lines"))
      (label (position 56 1) (text "Pen"))
      (label (position 62 1) (text "Priority"))
    )

    (left
      (field "draw_area_id" (position 1 0) (display_length 6) 
        (input disallowed) (max_length 32) (null disallowed))
    )

    (main
      (field "draw_area_desc" (position 1 0) (display_length 10) 
        (input allowed) (max_length 100) (null allowed)
        )

      (field "draw_area_sheet" (position 14 0) (display_length 6) 
        (input allowed) (max_length 32) (null allowed) (translate upper)
        )

      (field "left_offset" (position 24 0) (display_length 3) (input allowed)
        (max_length 8) (null disallowed) (format real_8) (default "0.5")
        (low_bound 0) (decimals 2)
        )

      (field "right_offset" (position 30 0) (display_length 3) (input allowed)
        (max_length 8) (null disallowed) (format real_8) (default "0.5")
        (low_bound 0) (decimals 2)
        )

      (field "bottom_offset" (position 37 0) (display_length 3) 
        (input allowed) (max_length 8) (null disallowed) (format real_8) 
        (default "0.5") (low_bound 0) (decimals 2)
        )

      (field "top_offset" (position 44 0) (display_length 3) (input allowed)
        (max_length 8) (null disallowed) (format real_8) (default "0.5")
        (low_bound 0) (decimals 2)
        )

      (field "draw_lines" (position 51 0) (display_length 1) (input allowed)
        (max_length 1) (null disallowed) (default "Y") (translate upper)
        (value_in "Y" "N")
        )
  
      (field "pen" (position 56 0) (display_length 3) (input allowed)
        (max_length 3) (null disallowed) (default "1") (format integer_4)
        (low_bound 1) (high_bound 999)
        (dependency (value "draw_lines(0)") == "Y")
        )
  
      (field "priority" (position 62 0) (display_length 2) (input allowed)
        (max_length 3) (null disallowed) (default "125") (format integer_4)
        (low_bound 0) (high_bound 125)
        (dependency (value "draw_lines(0)") == "Y")
        )
    )
  )

  (default_buttons)
)
