(form "01112" (size 35 15)
  (heading "PEN FILE EDITOR")

  (label(position 2 3)(text "Palette"))
  (field "palette"(position 12 3)(display_length 10)(input allowed)
    (null disallowed)(max_length 50)
    (translate lower)
    )
  
  (label(position 2 4)(text "Speed(cm/s)"))
  (field "velocity"(position 12 4)(display_length 3)(input allowed)
    (format integer_4)(low_bound 0)(high_bound 100)
    (null allowed)(max_length 10)
    )

  (scroll_block "hpgl2_pens"(position  2  7)(size 30 6)(extra  0  1)
    (scroll_size 30 256)
    (repeat (grow 0 1)(instances 1(min 0)(max 999)))
    (main)
    (top
      (label(position  1 0)(text "Pen"))
      (label(position  7 0)(text "Colour"))
      (label(position 21 0)(text "Width(mm)")))
    (main
      (field "colour"(position 7 0)(display_length  12)(input allowed)
        (translate lower)(null allowed)(max_length 30)
        )
      (field "width"(position 21 0)(display_length  4)(input allowed)
        (format real_8)(low_bound 0)
        (null allowed)(max_length 10)
        )
      (field "number" (position 1 0) (display_length 3)
        (input allowed) 
        (max_length 10))

      ))
    (default_buttons)
)
