Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > Green Screen
  New Posts New Posts RSS Feed - Semi Static Message Box
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedSemi Static Message Box

 Post Reply Post Reply
Author
Message
homerlh View Drop Down
Beta Tester
Beta Tester


Joined: November 11 2004
Location: United States
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote homerlh Quote  Post ReplyReply Direct Link To This Post Topic: Semi Static Message Box
    Posted: August 04 2005 at 11:41am
Greetings,

I have a problem that I need some suggestions to help solve.

I display 3 or 4 lines of messages at the top of a green screen order entry application that shows the prices for the last 3 or 4 times a given product was ordered by a given customer. This works fine for most products, but we've just recently introduced a different type of products that uses a different screen to display. It displays the product on this other screen, then returns to the main screen with a screen clear.

The problem is with the timing of the 3 or 4 lines. I display them properly at the top of the screen, then it is immediately erased, so the display is useless. Likewise if I display it in the subordinate screen. It shows up and is immediately erased. The problem is when I get control of the screen. It does not occur at the points I need.

So, does anyone have a suggestion whereby I might display some type of popup message that will display through a screen clear, but which I could subsequently erase when I again get control of the screen?

Does that make sense?

I tried the SUI stuff and while they are swell and look nice, they scroll up on line feeds and disappear on a screen clear. I don't want to go to a GUI since I think that will be too slow.

I've got a nice ACCU.MSG subroutine that displays the text, but it's in the center of the screen, and the user has to click OK or CANCEL to close it. Does anybody know of anything like the SCRIPT MSG.BOX that I can open with one script then close with a subsequent script?

Thanks all

Larry Hazel
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: August 05 2005 at 5:15am
Hi Larry -

What emulation are you using? Perhaps you could enable "protect mode", and display your info as write-protected characters. If the proper clear-screen code were used by the subordinate screen, it would only erase un-protected data. You could then disable protect mode when it returns.

Thanks,

Pete
Back to Top
homerlh View Drop Down
Beta Tester
Beta Tester


Joined: November 11 2004
Location: United States
Status: Offline
Points: 288
Post Options Post Options   Thanks (0) Thanks(0)   Quote homerlh Quote  Post ReplyReply Direct Link To This Post Posted: August 05 2005 at 7:22am
Pete,

I think it's some type of Adds Viewpoint emulation - I believe I use AccuTerm's Viewpoint A2 enhanced selection. I'll have to check to see whether it supports protected mode. It might be important enough to get them to switch to another mode it that does not support protect mode.

I seem to have forgotten one of my prime tenents of computer program writing. You've got to be devious. I was getting too complicated. I forgot that simple answers also work.

Thank you Pete,

Larry Hazel
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post Posted: August 05 2005 at 8:16am
Hi Larry -

ADDS Viewpoint A2 Enhanced supports protected mode. The only thing you need to watch here is the use of visual attributes. When using the ADDS tagged attributes, any characters with an attribute are protected, as are line-drawing characters. So if the sub-app uses attributes or line drawing you are out of luck. Otherwise, check the Programmers Guide and look at the Wyse Programming section on Protected Attributes.

Thanks,

Pete
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.