(form "00678" (size 76 20)
  (heading "EXAMPLE Y VALUE CONSTRAINT")

   (label
	(position 2 4)
	(text "This example constrains points to those whose y coordinates lie above the ")
    )
    (label
	(position 2 5)
	(text "y (i.e. northing) value 500. ")
    )
  (label 
    (position 2 8) 
    (foreground (user_option "form_text_highlight"))
    (text "REFERENCE - parenthesised items are optional")
  )
  
  (scroll_block "prompts" (position 2 9) (size 71 1) 
    (scroll_size 71 1)
    (main
      (label (position 3 0) (text "(NOT)"))
      (label (position 11 0) (text "ABOVE"))
      (label (position 21 0) (foreground (user_option "form_text_highlight"))
        (text "Y VALUE"))
      (label (position 37 0) (text "y coord"))
    )
  )
  (scroll_block "constraints" (position 2 10) (size 71 4)
    (scroll_size 71 26)
    (main
	(label (position 1 0) (text "a"))
	(label (position 1 1) (text "b"))
	(label (position 1 2) (text "c"))
	(label (position 1 3) (text "d"))
	(label (position 1 4) (text "e"))
	(label (position 1 5) (text "f"))
	(label (position 1 6) (text "g"))
	(label (position 1 7) (text "h"))
	(label (position 1 8) (text "i"))
	(label (position 1 9) (text "j"))
	(label (position 1 10) (text "k"))
	(label (position 1 11) (text "l"))
	(label (position 1 12) (text "m"))
	(label (position 1 13) (text "n"))
	(label (position 1 14) (text "o"))
	(label (position 1 15) (text "p"))
	(label (position 1 16) (text "q"))
	(label (position 1 17) (text "r"))
	(label (position 1 18) (text "s"))
	(label (position 1 19) (text "t"))
	(label (position 1 20) (text "u"))
	(label (position 1 21) (text "v"))
	(label (position 1 22) (text "w"))
	(label (position 1 23) (text "x"))
	(label (position 1 24) (text "y"))
	(label (position 1 25) (text "z"))
	(field "not1" (position  3  0) (display_length  3) (input disallowed)
	    (value_in "" "NOT") (translate upper) (null allowed) (max_length 3)
	    (default "")
	)
	(field "not2" (position  3  1) (display_length  3) (input disallowed)
	    (value_in "" "NOT") (translate upper) (null allowed) (max_length 3)
	    (default "")
	)
	(field "not3" (position  3  2) (display_length  3) (input disallowed)
	    (value_in "" "NOT") (translate upper) (null allowed) (max_length 3)
	    (default "")
	)
	(field "not4" (position  3  3) (display_length  3) (input disallowed)
	    (value_in "" "NOT") (translate upper) (null allowed) (max_length 3)
	    (default "")
	)
	(field "op1" (position 11  0) (display_length  6) (input disallowed)
	    (value_in "" "INSIDE" "ABOVE") (translate upper) 
	    (null allowed) (max_length 6)
	    (default "ABOVE")
	)
	(field "op2" (position 11  1) (display_length  6) (input disallowed)
	    (value_in "" "INSIDE" "ABOVE") (translate upper) 
	    (null allowed) (max_length 6)
	    (default "")
	)
	(field "op3" (position 11  2) (display_length  6) (input disallowed)
	    (value_in "" "INSIDE" "ABOVE") (translate upper) 
	    (null allowed) (max_length 6)
	    (default "")
	)
	(field "op4" (position 11  3) (display_length  6) (input disallowed)
	    (value_in "" "INSIDE" "ABOVE" ) (translate upper) 
	    (null allowed) (max_length 6)
	    (default "")
	)
	(field "contype1" (position 21  0) (display_length 13) (input disallowed)
	    (value_in "" "STRING" "Y VALUE" "X VALUE" "LINE" ) (translate upper) 
	    (null allowed) (max_length 10)
	    (default "Y VALUE")
	)
	(field "contype2" (position 21  1) (display_length 13) (input disallowed)
	    (value_in "" "STRING" "Y VALUE" "X VALUE" "LINE" ) (translate upper) 
	    (null allowed) (max_length 10)
	    (default "")
	)
	(field "contype3" (position 21  2) (display_length 13) (input disallowed)
	     (value_in "" "STRING" "Y VALUE" "X VALUE" "LINE" ) (translate upper)
	    (null allowed) (max_length 10)
	    (default "")
	)
	(field "contype4" (position 21  3) (display_length 13) (input disallowed)
	    (value_in "" "STRING" "Y VALUE" "X VALUE" "LINE" ) (translate upper)
	    (null allowed) (max_length 10)
	    (default "")
	)
	(field "location1" (position 36  0) (display_length  4) (input disallowed)
	    (max_length 26) (translate lower) (null allowed)
	    (default "500")
	)
	(field "location2" (position 36  1) (display_length  4) (input disallowed)
	    (max_length 26) (translate lower) (null allowed)
	    (default "")
	)
	(field "location3" (position 36  2) (display_length  4) (input disallowed)
	    (max_length 26) (translate lower) (null allowed)
	    (default "")
	)
	(field "location4" (position 36  3) (display_length  4) (input disallowed)
	    (max_length 26) (translate lower) (null allowed)
	    (default "")
	)
	(field "id1" (position 44  0) (display_length  3) (input disallowed)
	    (max_length 16) (null allowed)
	    (default "")
	)
	(field "id2" (position 44  1) (display_length  3) (input disallowed)
	    (max_length 16) (null allowed)
	    (default "")
	)
	(field "id3" (position 44  2) (display_length  3) (input disallowed)
	    (max_length 16) (null allowed)
	    (default "")
	)
	(field "id4" (position 44  3) (display_length  3) (input disallowed)
	    (max_length 16) (null allowed)
	    (default "")
	)
	(field "rnga1" (position 51  0) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rnga2" (position 51  1) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rnga3" (position 51  2) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rnga4" (position 51  3) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rngb1" (position 59  0) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rngb2" (position 59  1) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rngb3" (position 59  2) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
	(field "rngb4" (position 59  3) (display_length  5) (input disallowed)
	    (max_length 32) (null allowed)
	    (default "")
	)
    ))
  (label (position  2 16) (text "Constraint combination"))
  (field "conexp" (position 23 16) (display_length 49) (input disallowed)
    (null allowed) (max_length 512)
    (default "")
  )
  (default_buttons)
)
