
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm having difficulty getting the executePreview event to work.
Unfortunately, there is minimal documentation on the doExecutePreview() method and event firing, in general, that doesn't cover some areas of the subject. Some questions I would like to answer are when doExecutePreview() or doExecute() are called does the interpreter finish the block it's currently running (in my case the inputChanged event handler) and then enter the handler for the executePreview or execute event? After the call, does it immediately enter the handler for the executePreview or execute event, effectively doing a "return" from the current handler, not executing the rest of its code? Or a third possibility, after the call, does the interpreter enter the handler for the executePreview or execute event, execute that code, return to the handler from which it was called, and then execute the rest of the calling handler's code?
The current issue is I call doExecutePreview from the middle of my inputChanged handler and the executePreview event does not fire. The okay button is also not triggering execute event.
Any ideas for the cause of these issues?
Solved! Go to Solution.