Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Auto tab to next cell in datagridview when max length of cell is reached

$
0
0

Hi,

   I have a datagridview with 2 columns named 'Type' and 'Telephone No' . I have set the maximum lengths of these 2 columns with :       

CType(DataGridView2.Columns("Type"),DataGridViewTextBoxColumn).MaxInputLength = 1

CType(DataGridView2.Columns("TELEPHONE_NO"),DataGridViewTextBoxColumn).MaxInputLength = 15

I want to automatically tab to next cell when maximum length for each of the columns is reached
Thanks & regards

Sanjish


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>