Thanks! now is there a way that I can make a shortcut for that? say...if I wanted to make a function arraycount(array) how would I do that so I don't have to type tha long stuff?
I'm not talking about doing
int arraycount(string array)
int z = (sizeof array / sizeof array[ 0 ]);
or some similar code but like to hardwire a new command?
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...