Ed Leafe wrote: > On Dec 16, 2008, at 8:11 PM, Paul McNett wrote: > >> Wait... calling form.update() will wipe out pending changes? I'm >> glad it doesn't work >> that way! >> >> What did you mean, because I obviously am misreading you! >> >> I opened an app, picked a text field, added a "!!!" after the value, >> and then opened >> a command window and typed "self.update()". It didn't wipe out my >> pending changes. > > > At least on the Mac, the active field will get wiped out. If you tab > off the field, the changes get flushed to the data source, but if you > are editing a field and then issue self.update() without tabbing off > the field, the changes aren't preserved. I made changes to a field, > opened up the command window, ran self.update(), and the field > reverted to the original value.
Okay, that would be a bug because activeControlValid() is obviously not getting called when the form loses focus. Do you have time to enter a trac ticket? I'm supposed to be emptying the dishwasher... ;0 Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
