OnEvent won't "OFF" :-)

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
User avatar
Phil Pendlebury
Automation Wizard
Posts: 543
Joined: Tue Jan 16, 2007 9:00 am
Contact:

OnEvent won't "OFF" :-)

Post by Phil Pendlebury » Mon Jan 28, 2008 1:40 pm

Sorry for all the questions today:

I have a graphic that features in all my dialogs.

When the graphic is hit it brings up a version info dilaog:

Code: Select all


OnEvent>DIALOG_EVENT,FWarning,100,ShowVersion
OnEvent>DIALOG_EVENT,LWarning,100,ShowVersion
OnEvent>DIALOG_EVENT,MEAPDialog,100,ShowVersion

Code: Select all

SRT>ShowVersion
  Show>MEAPVersion
  Label>VersionLoop
  GetDialogAction>MEAPVersion,vresult
  IF>vresult=10,EndVersion,VersionLoop
  Label>EndVersion
  CloseDialog>MEAPVersion
END>ShowVersion
The problem is that after hitting OK the version info won't go away. (It does briefly flicker but stays on) It's as if it thinks the graphic is still being clicked.

Is this because I need to do an RDA on the original dialog that called the ShowVersion?

If so this is a slight problem as there are many different dialogs that call the version dialog.

Is there any way round this other than to make 3 (or more) identical version dialogs and add the line RDA>[CALLING DIALOG] to each one?

I hope this makes sense.
Phil Pendlebury - Linktree

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts