Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
Promoted Create event
Hola all,
I'm hoping this is something really simple and stupid that I've been overlooking. I have a promoted event handler, basically a shell that calls an event driver that actually handles the events. The shell is installed into Sysreposeventexes for the following records/events:
@dbid:'*..OIWIN*'
@dbid:'*CREATE.WINDOW.OIWIN*'
@dbid:'*READ.WINDOW.OIWIN*'
@dbid:'*WRITE.WINDOW.OIWIN*'
@dbid:'*CLEAR.WINDOW.OIWIN*'
@dbid:'*CLOSE.WINDOW.OIWIN*'
@dbid:'*POSCHANGED.EDITTABLE.OIWIN*'
The event driver then handles any generic window behavior and calls the commuter module for the form and event.
All of these work fine and are called automagically Except the Create event. Currently it will not execute unless I include a quickevent on the Create event. The quickevent is just the usual SYSPROG*STPROCEXE**OBJ_CALL_EVENT.
Any ideas what I've missed? It would be nice if this worked automagically too.
Humbled,
Michael
I'm hoping this is something really simple and stupid that I've been overlooking. I have a promoted event handler, basically a shell that calls an event driver that actually handles the events. The shell is installed into Sysreposeventexes for the following records/events:
@dbid:'*..OIWIN*'
@dbid:'*CREATE.WINDOW.OIWIN*'
@dbid:'*READ.WINDOW.OIWIN*'
@dbid:'*WRITE.WINDOW.OIWIN*'
@dbid:'*CLEAR.WINDOW.OIWIN*'
@dbid:'*CLOSE.WINDOW.OIWIN*'
@dbid:'*POSCHANGED.EDITTABLE.OIWIN*'
The event driver then handles any generic window behavior and calls the commuter module for the form and event.
All of these work fine and are called automagically Except the Create event. Currently it will not execute unless I include a quickevent on the Create event. The quickevent is just the usual SYSPROG*STPROCEXE**OBJ_CALL_EVENT.
Any ideas what I've missed? It would be nice if this worked automagically too.
Humbled,
Michael
Comments
If so, is that unique to the Create event? All the other events work fine.
Is there a way to enforce the event programmatically? I have a handy install routine that updates Sysreposeventexes.
Humbled again,
Michael
Is there any way to set the Enforced setting programmatically? I'd like to include in my install pgm if so.
Thanks!
Thanks for the guidance!
Thanks!