title: Setting the TabIndex value for a dynamically created textbox
body: <p>I want to set the tabIndex property for a row of textbox(s) that are created at run time (dynamically)</p>
  
  <p>My formula is</p>
  
  <pre><code>txtFirstName.TabIndex = i * 10 + 1;
  txtLastName.TabIndex = i * 10 + 2;
  txtEMail.TabIndex = i * 10 + 3;
  txtPhone.TabIndex = i * 10 + 4;
  </code></pre>
  
  <p>When I try to compile this, I get an error
  <em>Cannot implicitly convert type 'int' to 'short'. An explicit conversion exists (are you missing a cast?)</em></p>
  
  <p>Any ideas?</p>