(form "00687" (size 65 21)

  (heading "CONTOUR DRAWING STYLES" )

  (label (position  2 3) 
  (text "CONTOURS:" )
  )

  (label (position  2 4) 
  (text "Colour" )
  )
  (field "contour_col" (position  10 4) (display_length 7) 
     (input allowed) (format colour) (default "blue")
     (translate lower) (null disallowed) (max_length 36)
     )

  (label (position  2 5) 
  (text "Thickness" )
  )
  (field "contour_wgt" (position 10 5) (display_length 1) (input allowed)
  (low_bound 1) (high_bound 9) (default "1")
  (format integer_4) (null disallowed) (max_length 1)
  )

  (label (position  2 6) 
  (text "Pattern" )
  )
  (field "contour_pat" (position 10 6) (display_length  5) (input allowed)
     (value_in "---" "--" "..." "-.-" "- -" "-..-" "-..." "-- --" "center" "phantom")
     (default "---")
     (translate lower) (null disallowed) (max_length 8)
     )

  (label (position  25 4) 
  (text "Draw contour value?" )
  )
  (field "cont_zdraw" (position 42  4) (display_length  1) (input allowed)
    (value_in "Y" "N") (default "N") 
    (translate upper) (null allowed) (max_length 1)
    )

  (field "cont_zfreq_label" 
    (position 25  5) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Frequency")
    (browser none)
    (default "Frequency")
    (dependency (value "cont_zdraw") == "Y") 
  )
  (field "cont_zfreq" 
    (position 35  5)  (display_length  5) 
    (format real_8) (input allowed)
    (null disallowed)
    (low_bound 0.01) (default "100.0") 
    (dependency (value "cont_zdraw") == "Y")
    )

  (field "cont_zsize_label" 
    (position 25  6) 
    (display_length  7) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Size")
    (browser none)
    (default "Size")
    (dependency (value "cont_zdraw") == "Y")
  )
  (field "cont_zsize" 
    (position  35 6) (display_length  5)
    (format real_8) (input allowed)
    (null disallowed)
    (low_bound 0.0) (default "2.0")
    (dependency (value "cont_zdraw") == "Y")
    )

  (label (position  2 8) 
  (text "Create index contours?" )
  )
  (field "index_conts" (position 20  8) (display_length  1) (input allowed)
    (value_in "Y" "N") (default "N")
    (translate upper) (null allowed) (max_length 1)
    )
   (field "index_conts_label" 
    (position 2  9) 
    (display_length  20) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "INDEX CONTOURS:")
    (browser none)
    (default "INDEX CONTOURS:")
    (dependency (value "index_conts") == "Y") 
   )
   (field "index_int_label" 
    (position 2  10) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Interval")
    (browser none)
    (default "Interval")
    (dependency (value "index_conts") == "Y") 
   )
   (field "index_int" 
    (position 10  10)  (display_length  5) 
    (format real_8) (input allowed)
    (null disallowed)
    (low_bound 0.01) (default "10.0")
    (dependency (value "index_conts") == "Y")
    )

   (field "index_col_label" 
    (position 2  11) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Colour")
    (browser none)
    (default "Colour")
    (dependency (value "index_conts") == "Y") 
   )
   (field "index_col" (position  10 11) (display_length 7) 
   (input allowed) (format colour) (default "red")
   (translate lower) (null disallowed) (max_length 36)
   (dependency (value "index_conts") == "Y")
   )

   (field "index_thk_label" 
    (position 2  12) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Thickness")
    (browser none)
    (default "Thickness")
    (dependency (value "index_conts") == "Y") 
   )
   (field "index_wgt" (position 10 12) (display_length 1) (input allowed)
   (low_bound 1) (high_bound 9) (default "1")
   (format integer_4) (null disallowed) (max_length 1)
   (dependency (value "index_conts") == "Y")
   )

   (field "index_pat_label" 
    (position 2  13) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Pattern")
    (browser none)
    (default "Pattern")
    (dependency (value "index_conts") == "Y") 
   )
   (field "index_pat" (position 10 13) (display_length  5) (input allowed)
    (value_in "---" "--" "..." "-.-" "- -" "-..-" "-..." "-- --" "center" "phantom")
    (default "---")
    (translate lower) (null disallowed) (max_length 8)
    (dependency (value "index_conts") == "Y")
    )

   (field "index_zdraw_label" 
    (position 25  10) 
    (display_length  19) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Draw contour value?")
    (browser none)
    (default "Draw contour value?")
    (dependency (value "index_conts") == "Y") 
   )
   (field "index_zdraw" (position 42  10) (display_length  1) (input allowed)
    (value_in "Y" "N") (default "N") 
    (dependency (value "index_conts") == "Y")
    (translate upper) (null allowed) (max_length 1)
    )
   (field "index_zfreq_label" 
    (position 25  11) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Frequency")
    (browser none)
    (default "Frequency")
    (dependency (value "index_zdraw") == "Y") 
   )
   (field "index_zfreq" 
    (position 35  11)  (display_length  5) 
    (format real_8) (input allowed)
    (null disallowed)
    (low_bound 0.01) (default "100.0")
    (dependency (value "index_zdraw") == "Y")
    )

   (field "index_zsize_label" 
    (position 25  12) 
    (display_length  12) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Size")
    (browser none)
    (default "Size")
    (dependency (value "index_zdraw") == "Y") 
   )
   (field "index_zsize" 
    (position  35 12) (display_length  5)
    (format real_8) (input allowed)
    (null disallowed)
    (low_bound 0.0) (default "2.0")
    (dependency (value "index_zdraw") == "Y")
    )

  (label (position  19 15) 
  (text "SAVE THE NEW DRAWING STYLES" )
  )
  (label (position  2 16) 
  (text "Drawing styles file" )
  )
  (field "style_file" (position 19  16) (display_length 38) (input allowed)
  (translate lower) (null disallowed) (max_length 40) 
  (default "ssi_styles:contours.ssi")
  (file (extension "*.ssi"))
  )
  (label (position  19  17) 
    (text "For convenience, prefix the filename with SSI_STYLES: to "))
  (label (position  19  18) 
    (text "access styles files in the system styles sub-directory"))

  (default_buttons)
)
