MSG function gasgauge (OpenInsight Specific)
At 14 DEC 1999 03:43:58PM Steve C. wrote:
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=10Def="Def=Processing Orders..."Def=GC"Def=OrderCntMsgUp=Msg(@window, Def)for Order=1 to OrderCntgosub ProcessOrder
update the gauge and check if cancel was pressedwhile Msg(@window, MsgUp, Order, MSGINSTUPDATE$)next OrderMsg(@window, MsgUp) ;* take down the gaugegoto ENDITProcessOrder:FOR X=1 TO 1000NEXT XdebugRETURN
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.