Hi all,
I am having a problem with a custom event not working with send_event. I have used the SRP whitepaper on creating custom events, but cannot get it all to work.
I am trying to fire my custom event (INITMENU) when the user right-clicks on an EditTable. So far, I can get the promoted create event to work (setting up QUALIFY_EVENT to detect right click and redirect to an event), and can select the correct cell within the EditTable, but not execute my custom event.
Within this code, I am using Send_Event to run the custom event code for the EditTable (to generate the menu). This send_event does not work, and so I am wondering if it is because I have used a custom event.
Does anyone know why this may be, or had this problem?
Cheers,
Andrew Matthews
iTMS Software
Hi all,
I have discovered the solution to my problem - I just needed to reboot my computer. I guess this was to refresh the events or something.
Thanks to anyone that may have thought about responding,
Andrew Matthews
iTMS Software
Andrew,
I have discovered the solution to my problem - I just needed to reboot my computer. I guess this was to refresh the events or something.
Are you sure that was the solution? Had you tried just exiting OI and going back in first?
dbakke@srpcs.com
If you load the system monitor when a window is running you will initially see "looking for… looking for… looking for…. running".
As the window continues you will see that these all become "running… running… running" because the system has established the event chain and is now caching it in memory. Logging off and logging on again should cure this. Strictly speaking compiling a window OUGHT to do this for you too…
World Leaders in all things RevSoft