title: In ExtJS, Can I pass argument via vtype?
body: <p>I can't find the way to pass argument via vtype.<br>
  So I do some onfly vtype function. </p>
  
  <pre><code>var vtypeMaker = function(n){
      Ext.apply(Ext.form.VTypes, {
          myTest : function(v, o){
              console.debug(n); // &lt;-- I can pass my custom value
              // do something
              // ...
              return myRegex.test(v);
          },
          myTestText : 'some message'
      });
  }
  </code></pre>
  
  <p>And when I want to set vtype, I should call this function first.</p>
  
  <pre><code>vtypeMaker(10);
  myTextfield.vtype = 'myTest';
  </code></pre>
  
  <p>It works but too long code.<br>
  Anyone has better idea ?  </p>
  
  <p>Thanks.</p>