Utility, runwin, callback function issue (OpenInsight 32-Bit)
At 01 OCT 2005 02:59:00PM Richard Hunt wrote:
The following code works fineā¦
_
* Display results.
RESULT=WINDOW_STATUS('Initializing Adobe Reader...')ARG=1ARG=EVENTS_REPORT_FBINVSELECT'ARG=VM$:VM$:'OMNIEVENT':VM$:'CLOSE':VM$:WINDOW:VM$:'WINDOW':VM$:FALSE$RESULT=UTILITY('RUNWIN',PDF_PATH,ARG)_
The callback function is called just fine, although the "@WINDOW" variable no longer has the instance! The actual window is "REPORT_FBINVSELECT*6" and when the callback function is called the @WINDOW variable is set to "REPORT_FBINVSELECT", no instance. I had to pass the actual window (REPORT_FBINVSELECT*6) in the WINDOW variable.
Can someone verify this to be a bug.