Author: Vince Teachout
Posted: 2009-03-26 at 15:29:43
MB Software Solutions General Account wrote:
> Vince -- you meant ThisForm.MyMethod(this) (...not just the name
> attribute, but the actual object) right?
No, in my example (again, assuming I understood the question) only a
property that can be tested by a CASE statement needs to be passed.
So if the Button name was ButtVal1, the click method
Thisform.MyMethod(this.name) would send the parm "ButtVal1" to the
method, and a CASE would then process for ( CASE lMyParm = "ButtVal1" )