Carl Karsten wrote: > Ed Leafe wrote: >> On May 31, 2007, at 3:25 PM, Carl Karsten wrote: >> >>> I could never figure out how to have UI events call my methods >>> directly >> You mean like object.bindEvent([event], self.myMethod)? >> > > Probably a similar result, only specify something in the .cdxml, something as > nice as the way the textbox is tied to the attribute: > > DataSource="self.Form.myObj1" DataField="myAttrib1" > > Although I am having trouble figuring out where that code would go. > self.myMethod implies that it would be in my class somewhere, but I'm not > sure > what would ever run it.
When the event happens, the method gets run. > When you have the time, save the 3 files I made for exactly this reason, fix > them up the way you envision it working, and post the resulting code. If it > is > as easy as you make it sound, it shouldn't take more than 2 or 3 minutes. Where are these files again? Please don't point me to the list archives, as I can't easily copy/paste code from that webpage. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]
