write one sub that takes a String arg
in the validate event handler - add 'handles textbox2.validate,
textbox3.validate, etc to the "handles clause"
call the sub from the validate event - passing the sender.text property
"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
All my textbox's validevent , need to pass its Text to another method for
testing.
my form got 10 textbox, I need to put the code me.fieldvalidation(Me.text)
for every TEXTBOX's validated event.
Any smart way that I only write a simple code, so. all the textbox can do
the same thing ??
thanks
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (
http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/30/2004