[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== MSG function gasgauge (OpenInsight Specific) ==== === At 14 DEC 1999 03:43:58PM Steve C. wrote: === {{tag>"OpenInsight Specific"}} Can someone tell me what I'm doing wrong? I execute the following code within a stored procedure (test) I do have an insert for Msg_equates A dialog comes up with the caption "Processing Orders..." with an "OK" button and stops. I press the OK button and then I go into the debugger below "ProcessOrder:" and the dialog "Processing Orders..." goes away. Once I finish thru the debugger I get a second dialog box with the caption "message" and an "OK" button. I press "OK" and that dialog goeas away and the SP ends. Never any gasgauge Any Ideas Please??? Steve C. OrderCnt=10 Def=" Def=Processing Orders..." Def=GC" Def=OrderCnt MsgUp=Msg(@window, Def) for Order=1 to OrderCnt gosub ProcessOrder * update the gauge and check if cancel was pressed while Msg(@window, MsgUp, Order, MSGINSTUPDATE$) next Order Msg(@window, MsgUp) ;* take down the gauge goto ENDIT ProcessOrder: FOR X=1 TO 1000 NEXT X debug RETURN ---- === At 14 DEC 1999 07:10PM Mike Ruane, WinWin Solutions Inc. wrote: === Steve- You need to pass a parent into the program that is displaying the message, and use the parent in your code instead of @WINDOW. Hope it helps- Mike Ruane WinWin Solutions INc. ---- === At 14 DEC 1999 07:36PM Steve C. wrote: === Mike, That's what it took. Thanks for your quick reponse and continuing help. Steve C. [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=54BA0B090961E3C7852568470071E3B3|View this thread on the forum...]]