Fred Taylor wrote: > On Thu, Mar 26, 2009 at 12:29 PM, Vince Teachout <tea...@taconic.net> wrote: > >> >> So why not pass "this"? You can then reference the button.Caption (or any >> other property) directly and not need any CASE statement.
In this example, how does it eliminate the need for CASE? Again, assuming I am understanding the problem correctly (ie, "change a value, depending on which button I pressed."), what's the difference between: CASE myParam = "button1" and CASE oMyParam.Name = "button1" ? _______________________________________________ Post Messages to: ProFox@leafe.com 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/49cbe5be.5050...@taconic.net ** 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.