I am trying to create a promoted event but the HELP seems to be written for OI9. How can I enforce the event as was done in the even designer.?
This OI10 - CHANGED Promoted Event not triggered thread response from Carl has an answer for you.
Thanks a lot don … seems like as we know and love help is the ugly stepchild :)
Don .. you are the master of promoted events :) maybe you can help me .. or anyone else with time on their hands.
I followed the help to refresh my memory .. create a pe_gotfocus_shell which calls pe_gotfocus. copied the exe over with RUN COPY_ROW SYSOBJ , $PE_GOTFOCUS_SHELL*SSOFT, SYSREPOSEVENTEXES , SSOFT*GOTFOCUS..OIWIN* Then I went to the EXEC RTI_IDE_CFG_EVENTS and looked at EditLine. It already said Yes so i figured I didn't need to do anything. I Exited oi and back in
But the event is still not firing .. any thoughts
Since restarting OI, did you recompile your form?
yes … several times. still looking at it sure it is something i am overlooking
I don't know if this is still an issue in OI 10, but with OI 9 you needed to make a simple modification to the form before recompiling otherwise it wouldn't fully compile.
I also presume you do not have a script event handler for your editline control. If you do, make sure it isn't returning a 0 and thus aborting the event chain.
You might also want to open the SYSREPOSWINEXES record in the Record Designer to see what the starting event handler is for your editline control.
thanks .. upon investigation the return value wa getting stepped on
And for completeness … you still have to make a change to a form to force compile … no other way