On Thu, Mar 26, 2009 at 12:29 PM, Vince Teachout <[email protected]> wrote:
> 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" ) > > > > > > > > So why not pass "this"? You can then reference the button.Caption (or any > other property) directly and not need any CASE statement. > > > -- > Fred > --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

