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

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=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.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/54ba0b090961e3c7852568470071e3b3.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1