J
johnb
Hi All
What is the code to loop thru all textbox controls on a form?
TIA
johnb
What is the code to loop thru all textbox controls on a form?
TIA
johnb
Hi All
What is the code to loop thru all textbox controls on a form?
johnb said:Hi All
What is the code to loop thru all textbox controls on a form?
TIA
johnb
I'm not trying to start anything, just trying to offer the OP a way theCor Ligthert said:Peter,
I've seen that the getType is currently more popular, but why not the way
we here in this newsgroup has done it forever.
If Typeof object Is Classname?
http://www.vb-tips.com/ControlBorder.aspx
Is this a kind of verCSharping (I don't know if you knows a tiny little
bit Dutch, then you understand it)
It means something as: using C# ways, where there is a very good VB
alternative.
Cor
I'm not trying to start anything,
just trying to offer the OP a way the
"learn to fish".
Your way is certainly just as good,
and certainly more VB-traditional.
Armin Zingler said:Am 11.04.2010 03:39, schrieb PvdG42:
But you did.
I'm not a native English speaker, so what does "*just* as good" mean
in _this_ case? "ok, use it if you want", or "as good as", or
"better than"?
I say TypeOf is to be preferred because it's "just quicker".
About 3.5x quicker (in my personal, I predict that one will say
disputable, tests). (yes, and I do know that both methods are not the same
because TypeOf includes inherited classes). And, BTW, TypeOf is 1:1
translated to the "isinst" IL keyword.
Curly braces in C are also traditional. AND THAT DAMNED
CASE SENSITIVITY TOOOOO! Ummm... sorry, Sunday morning...
Pay close attention to Armin's latest post. Note the significant improvementjohnb said:Hi Guys
Thank you for your useful comments. Yeah I'm learning to fish with this
one
but good have more than one rod in the bag.
Thanks once more
johnb
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.