Identify if On Choose exists in file.

Posted by Paul Mowat on 16-Oct-2015 03:42

Hi All,

I need to work out whether a file contains a "on choose" for a specific handle.

e.g. i have a file called p-py15-add.w that contains 

ON CHOOSE OF but-back IN FRAME F-Main /* Back */
RUN change-page-back IN lh-container-source.
RUN sens-next.

I'm trying to write some code that will tell me  that this trigger exists in that file so I can make a decision in the logic.

I initially looked at the list-events, but I don't think that is what I need.

Is this possible?



All Replies

Posted by Dileep Dasa on 16-Oct-2015 04:00

It seems the following thread is related:

Posted by Paul Mowat on 16-Oct-2015 05:42

Hi Dileep,

Thanks for the reply.

I've had a look at the thread and had a look at the uibinfo.p however that doesn't give me what I require at the point of executing my code.

I've went with another workaround for what I'm doing but still be interested to see if its possible.



This thread is closed