(form "00832" (position 10 2) (size 60 23) 
  (heading "COPY TITLE PROPERTIES")

  (label (position 2 3) (text "Existing Title ID"))
  (field "old_title_id" (position 15 3) (display_length 15) (input allowed)
    (max_length 32) (null disallowed) (translate upper)
    )

  (label (position 2 4) (text "New Title ID"))
  (field "title_id" (position 15 4) (display_length 15) (input allowed)
    (max_length 32) (null disallowed) (translate upper)
    )

  (label (position 2 5) (text "Title description"))
  (field "title_desc" (position 15 5) (display_length 15) (input allowed)
    (max_length 100) (null allowed)
    )

  (label (position 40 3) (text "Border ID"))
  (field "border_id" (position 50 3) (display_length 6) (input allowed)
    (max_length 32) (null disallowed) (auto_next off) (translate upper)
    )

  (label (position 40 4) (text "Draw Area ID"))
  (field "draw_area_id" (position 50 4) (display_length 6) (input allowed)
    (max_length 32) (null disallowed) (auto_next off) (translate upper)
    )

  (label (position 2 7) (foreground (user_option "form_text_highlight"))
    (text "Title Block Origin"))

  (label (position 2 8) 
    (text "Corner"))
  (field "corner" (position 15 8) (display_length 10) (input allowed)
    (max_length 12) (null disallowed) (translate lower) (default "lr")
    (value_in "ll" "ul" "lr" "ur"
      [default "lower left" "upper left" "lower right" "upper right"])
    )

  (label (position 2 9) 
    (text "X Offset"))
  (field "xoffset" (position 15 9) (display_length 5) (input allowed)
    (max_length 10) (null disallowed) (format real_8) (default "0")
    (decimals 2) (help (field "corner")))

  (label (position 2 10) 
    (text "Y Offset"))
  (field "yoffset" (position 15 10) (display_length 5) (input allowed)
    (max_length 10) (null disallowed) (format real_8) (default "0")
    (decimals 2) (help (field "corner")))

  (label (position 2 11) (text "Scale Factor"))
  (field "scale_factor" (position 15 11) (display_length 5) (input allowed)
    (max_length 10) (null disallowed) (format real_8) (default "1.0")
    (decimals 2)
    )

  (label (position 2 12) (text "Rotate By"))
  (field "rotate_by" (position 15 12) (display_length 5) (input allowed)
    (max_length 10) (null disallowed) (format real_8) (default "0")
    (value_in "0" "90")
    )

  (label (position 40 7) (foreground (user_option "form_text_highlight"))
    (text "Title Block size and orientation"))

  (label (position 40 8) 
    (text "X size"))
  (field "xsize" (position 50 8) (display_length 5) (input allowed)
    (max_length 10) (null disallowed) (format real_8) (default "0")
    (low_bound 1) (decimals 2)
    )

  (label (position 40 9) 
    (text "Y size"))
  (field "ysize" (position 50 9) (display_length 5) (input allowed)
    (max_length 10) (null disallowed) (format real_8) (default "0")
    (low_bound 1) (decimals 2)
    )

  (label (position 40 10) 
    (text "Priority"))
  (field "priority" (position 50 10) (display_length 5) (input allowed)
    (max_length 3) (null disallowed) (format integer_4) (default "125")
    (low_bound 0) (high_bound 125)
    )

  (label (position 40 11) 
    (text "Pen number"))
  (field "pen" (position 50 11) (display_length 5) (input allowed)
    (max_length 3) (null disallowed) (format integer_4) (default "1")
    (low_bound 1) (high_bound 999)
    )

  (field "font" (position 15  3) (display_length 4) (input allowed)
    (null allowed) (max_length 70))
  (field "bold_font" (position 15  3) (display_length 2) (input allowed))
  (field "italic_font" (position 15 3) (display_length 2) (input allowed))
  (field "underline_font" (position 15 3) (display_length 2) (input allowed))

  (label (position 2 14) (foreground (user_option "form_text_highlight"))
    (text "Title Block prompting lines"))
  (scroll_block "prompt_lines" (position 2 16) (size 53 5)
    (extra 0 1)
    (scroll_size 53 10)
    (repeat interactive (grow 0 1) (instances 1 (min 1) (max 50)))
    (top
      (label (position 1 0) 
        (text "Prompt"))

      (label (position 18 0) 
        (text "X position"))

      (label (position 26 0) 
        (text "Y position"))

      (label (position 34 0) 
        (text "Text height"))

      (label (position 42 0) 
        (text "Length"))

      (label (position 47 0) 
        (text "Pen"))

    )        
    (main
      (field "text_prompt" (position 1 0) (display_length 15) (input allowed)
        (max_length 128) (null allowed) 
        )

      (field "text_xpos" (position 18 0) (display_length 5) (input allowed)
        (max_length 10) (null disallowed) (format real_8) (default "0")
        (decimals 2)
        )

      (field "text_ypos" (position 26 0) (display_length 5) (input allowed)
        (max_length 10) (null disallowed) (format real_8) (default "0")
        (decimals 2)
        )

      (field "text_height" (position 34 0) (display_length 5) (input allowed)
        (max_length 10) (null disallowed) (format real_8) (default "0.2")
        (low_bound 0.05) (decimals 2)
        )

      (field "text_max_length" (position 42 0) (display_length 2) 
        (input allowed)
        (max_length 5) (null disallowed) (format real_8) (default "1.0")
        (low_bound 1) (high_bound 128)
        )

      (field "text_pen" (position 47 0) (display_length 3) (input allowed)
        (max_length 3) (null disallowed) (format integer_4) (default "1")
        (low_bound 1) (high_bound 999)
        )

      (field "text_angle" (position 57 0) (display_length 2) 
        (foreground(user_option "form_background"))
        (background(user_option "form_background"))
        (input disallowed)
        (max_length 2) (null allowed) (format integer_4) (default "1")
        (low_bound 1) (high_bound 99)
       )
    )
  )

  (default_buttons)
)
