AfterAddNew Event Issue


Author
Message
Larry Caylor
Larry Caylor
StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)StrataFrame VIP (1.2K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
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

Robert Carl Johnson
Robert Carl Johnson
StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)StrataFrame Novice (50 reputation)
Group: Forum Members
Posts: 48, Visits: 130
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
StrataFrame Team
S
StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)StrataFrame Developer (4.4K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search