How can I clear a MENU from the screen?

Robert robert at mhi-tx.com
Thu Nov 4 10:39:13 PST 2004


I am having trouble clearing a menu from the screen if a show raw is the 
action.
If the action is a system or something then the menu clears but the show 
raw keeps the remnants of the menu on the screen. control l clears it 
but I need the program to clear it.
Any suggestions?
I am using a MENU so that the user can have a hot key to pop up the menu 
and then key options to perform specific functions i.e. I want them to 
be able to hit i1 to open a file (see below).
The data in the show raw sends a message to Tiny Term emulator to run a 
script function. The function executes and everything works except the 
menu does not go away.
Any help is appreciated.

   If:
  Then: dim optmenu(3)
------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
  If:
  Then: optmenu("1")="Image Right Options";optmenu("2")="1:Open Current 
File"
------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
   If:
  Then: menu optmenu opencur
------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
   If:
  Then: end
------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
opencur If: 'open current file in IR
  Then:
------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
   If:
  Then: show raw chr("27"){"&oFopen_file(\""{PolicyNumber{"\");"{chr("13")
10  -------   -
    If:
       Then: end



More information about the Filepro-list mailing list