![]() |
| The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum. |
|
Post Reply
|
| Author | |
terry@tadbs.com
Newbie
Joined: October 13 2011 Location: United States Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: Add msgbox to basic programPosted: October 13 2011 at 11:12am |
|
I want to add a message box ATGUIMSGBOX to a basic program.
What needs to be initialized to cause the popup? How do you execute a lets say a lookup Window and return the selection to a basic program. My goal is to slowly add GUI to existing character based screens. |
|
![]() |
|
Shrek59
Senior Member
Joined: December 04 2006 Location: New Zealand Status: Offline Points: 208 |
Post Options
Thanks(0)
Quote Reply
Posted: October 13 2011 at 6:22pm |
|
Check out the ATMSGBOX2 program in the Samples\PICKBP folder (underneath the main Atwin70 folder. This lets you call the GUI msgbox from green screen programs.
Alternatively, you could use the ATMSGBOX program which uses a scripted msgbox (using VBScript). This is not compatible with GUI programs, and uses different values for buttons/icons etc, but is OK for use with green screen applications. Cheers, Brian |
|
![]() |
|
dynamic
Senior Member
Joined: June 28 2007 Status: Offline Points: 188 |
Post Options
Thanks(0)
Quote Reply
Posted: October 14 2011 at 1:24am |
|
Hi Terry,
Welcome to Accuterm! When I first started converting over I created a generic lookup dialog box in the GUI designer that had a list box with two columns. My green screen program sent the list to the dialog box and returned the selection. I believe my earliest posts on this board have info from Peter and others on what to do since I was asking the same questions as you. Search for my posts and look at one of the earlier dates. Andy |
|
![]() |
|
noranevers
Newbie
Joined: October 13 2005 Location: United States Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Posted: October 21 2011 at 2:49am |
|
Terry - just use the ATMSGBOX in the SAMPLES file - you don't have to initialize anything. Same for the ATLISTBOX, you just call the subroutines from the basic program. Pete has them well documented on the arguments in the call.
The selection is returned in the last argument in the list. |
|
![]() |
|
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 |