StrataFrame Forum

AfterAddNew Event Issue

http://forum.strataframe.net/Topic9809.aspx

By Larry Caylor - 6/26/2007

I'm having problems with the AfterAddNew event on a child form. When Add() is called on an object that has been translated from a parent to child form using a ChildFormDialog the objects' BeforeAddNew and AfterAddNew events are not being handled. I've checked the handler routines and they do have the proper handles clause. If I try to handle the same BOs Navigated or EditingStateChanged event, everything works fine.

-Larry

By Robert Carl Johnson - 6/26/2007

Larry, I am going to jump in here with something that bit me recently. I had added code to an event and then decided to changed the name of the control. The code seemed to follow the name change but I found that it wasn't working for some reason. I removed the text box. re-created it, renamed it, re-bound it, added my code to the change event like before and bingo, it worked likt it should. So it this applies, great, if not, sorry for wasting your time.



Regards,



Robert
By StrataFrame Team - 6/27/2007

Looks like the handlers for the AfterAddNew and BeforeAddNew events are not being pushed from the source to the destination BO during translation.  I'll have to check into this.