On Wednesday 19 December 2007 07:07:05 am Ed Leafe wrote: > While typing this, I see that John has responded to your question, > and with all due respect, his answer is wrong. Buttons should never > "know" about bizobjs, much less try to directly manipulate them. They > should talk with the form, and occasionally to sibling controls, but never > beyond that.
Ed's correct. That should have been: self.BtnAdd = dabo.ui.dButton(self,Caption="SetWhere") self.BtnAdd.bindEvent(dEvents.Hit, self.Form.OnWhereBtn) I should be calling a Form method. -- John Fabiani _______________________________________________ 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]
