![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
anonymous
Groupie
Joined: January 15 2004 Location: United States Status: Offline Points: 46 |
Post Options
Thanks(0)
Quote Reply
Topic: Start new GUI app from GUI appPosted: 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? |
|
![]() |
|
PSchellenbach
Admin Group
Moderator Joined: December 15 2003 Location: United States Status: Offline Points: 2150 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
Deech
Moderator Group
Moderator -- GUI Development Joined: December 15 2003 Status: Offline Points: 177 |
Post Options
Thanks(0)
Quote Reply
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!!
|
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |