I have pretty extensive GED/WED experience.

GUI programs behave just the same as a regular program or as a subroutine.
You can use the @COMMAND if you wish to pass paramaters to a RUN program or
you can create the entire GED item as a called subroutine.

WHat Glen means by bail-outs are that the ATGUISHUTDOWN command must be
executed and at the end of the GUI session. You can have a green screen RUN
or CALL a GED/WED item and the SHUTDOWN will close the new window when done.

If you are calling one GUI sub from another GUI program, the sub needs to
know that you are NOT going to SHUTDOWN in the sub, just handle as an
ACTIVATE or ENABLE/DISABLE. (Actual code escapes me at this time.)

The real trick of GED/WED programming is understanding how Accuterm uses the
PC as the form(s) handler and maintaining all of the environment variables
properly GUISTATE, GUIERRORS and GUIEVT.

My 2 cents,
Mark Johnson
----- Original Message -----
From: "Glen B" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, July 03, 2008 7:07 PM
Subject: RE: [U2] Calling on AccuTerm users who are using the GUI designer


>   If you built it as a stand alone GUI app then you can wrap the main
> section of the code in a subroutine/return block and use it like any other
> subroutine call. I do that for search pop-up windows currently. Just make
> sure that bail-outs are handled correctly.
>
> GlenB
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Brenda Price
> > Sent: Thursday, July 03, 2008 4:54 PM
> > To: [email protected]
> > Subject: [U2] Calling on AccuTerm users who are using the GUI designer
> >
> >
> > OK, I'm just starting out with this.
> >
> >
> >
> > I have an existing program that has over lots of options from it that
> > each call a subroutine.  The record id is passed to the calling
> > subroutine.
> >
> >
> >
> > I need to add a new option and I want to create a AccuTerm GUI program
> > for it but I still need to pass in the record id.  I went through the
> > AccuTerm Tutorial and built the screen the way I want it, then found
> > oops, it doesn't look like I can call that routine and pass in the
> > record id, actually I need to pass in 3 variables.  I thought I'd ask
> > the list before I scrap this and go back to the normal green screen
> > application.
> >
> >
> >
> > Brenda Price
> >
> > Affiliated Acceptance Corporation
> >
> > Sunrise Beach, MO
> > -------
> > u2-users mailing list
> > [email protected]
> > To unsubscribe please visit http://listserver.u2ug.org/
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to