Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > GUI Development
  New Posts New Posts RSS Feed - Start new GUI app from GUI app
  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 LockedStart new GUI app from GUI app

 Post Reply Post Reply
Author
Message
anonymous View Drop Down
Groupie
Groupie


Joined: January 15 2004
Location: United States
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote anonymous Quote  Post ReplyReply Direct Link To This Post Topic: Start new GUI app from GUI app
    Posted: January 23 2004 at 3:37am
One has a AccuTerm 2K2 GUI form open. A command button on it states "Run Other App". User presses the command button, and the code behind wants to open a different GUI app -- not a subroutined/component/whatever of the that has been written at a separate time (yes, an AccuTerm 2k2 GUI app however).

How can one call the new app to load, execute, and upon closing, return attention to the original GUI, without disturbing the original GUI form/app (global variables, etc.)?

Possible?

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: January 23 2004 at 3:38am
Try calling ATGUISUSPEND, which will hide the current app, then EXECUTE "RUN GUIBP ...." to run the new app. When the EXECUTE statement returns, call ATGUIRESUME to restore the previous app.

Thanks,

Peter
Back to Top
Deech View Drop Down
Moderator Group
Moderator Group

Moderator -- GUI Development

Joined: December 15 2003
Status: Offline
Points: 177
Post Options Post Options   Thanks (0) Thanks(0)   Quote Deech Quote  Post ReplyReply Direct Link To This Post Posted: January 23 2004 at 11:52am
Just a quick follow-up question would that cause the GUI environment to restart? In other words would the GUI Server still be running when control is transferred to the second GUI program?

The reason why I bring up this point is the associated client overhead of restarting the GUI environment.

Thanks,

Deech
Accuterm GUI--Changing the Face of MV Development!!
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.