(form "comp_vg" (size 58 20)
    (heading "DOWNHOLE VARIOGRAM"
    )

    (label
        (position 30 4)
        (text "Min value"
        )
    )
    (field "minval"
        (position 40 4)
        (display_length 10)
        (input allowed)
        (format real_8)
    )

    (label
        (position 30 5)
        (text "Max value"
        )
    )
    (field "maxval"
        (position 40 5)
        (display_length 10)
        (input allowed)
        (format real_8)
    )



    (label
        (position 2 16)
        (text "Lag"
        )
    )
    (field "lag"
        (position 10 16)
        (display_length 10)
        (input allowed)
        (format real_8)
        (null disallowed)
    )
    (label
        (position 2 17)
        (text "Max Dist"
        )
    )
    (field "maxdist"
        (position 10 17)
        (display_length 10)
        (input allowed)
        (format real_8)
        (null disallowed)
    )

    (label
        (position 25 16)
        (text "Treat negatives as"
        )
    )
    (field "negative"
        (position 42 16)
        (display_length 11)
        (input allowed)
        (null disallowed)
        (value_in "ZEROES" "UNDEFINED" "NEGATIVES"
        )
        (default "NEGATIVES")
    )

    (label
        (position 25 17)
        (text "Notefile name")
    )
    (field "fname"
        (position 12 17)
        (display_length 20.5)
        (max_length 256)
        (translate lower)
        (input allowed)
        (null allowed)
        (file output)
        (default "")
    )        
    (field "report_format"
      (position 12 17)
      (display_length 18)
      (input allowed)
      (null disallowed)
      (max_length 50)
      (value_in ".not - Surpac Note File"
                ".csv - Comma Separated (Spreadsheet)"
                ".htm - Hypertext Markup Language (Web)"
                ".html - Hypertext Markup Language (Web)"
                ".rtf - Rich Text Format (Microsoft Word)"
                ".pdf - Adobe Acrobat"
                ".ps - Postscript")
    )
     (field "display_report" (position 12 18)
      (display_length 2) (max_length 1) 
      (input allowed)
      (value_in "Y" "N")
      (default "N")
      (translate upper) (null disallowed) 
    )
    (field "string_file"
        (position 26 25)
        (display_length 11)
        (input allowed)
        (null disallowed)
        (value_in "NONE" "TEXT" "BINARY"
        )
    )

    (field "lag_minimum"
      (position 10 17)
      (display_length 10)
      (input allowed)
      (format real_8)
      (null disallowed)
      (low_bound 0.1)
      (default "0.1")
    )

    (field "lag_maximum"
      (position 10 17)
      (display_length 10)
      (input allowed)
      (format real_8)
      (null disallowed)
      (low_bound 0.1)
    )

    (field "lag_increment"
      (position 10 17)
      (display_length 10)
      (input allowed)
      (format real_8)
      (null disallowed)
      (low_bound 0.1)
    )

    (default_buttons)
)
