Skip to main content
LIST.DIALOG works so well I have 19 files to call the list. Rather than
setting up 19 copies I have thought that I could have 1 LIST.DIALOG and
set the ADD button caption and modify the TEMPLATE<21,7> with a legend
passed from the calling program. I think this would be done at the "Add
your equates ..." just before "BEGIN GUI HEADER". Does this seem a
reasonable approach?
LIST.DIALOG works so well I have 19 files to call the list. Rather than
setting up 19 copies I have thought that I could have 1 LIST.DIALOG and
set the ADD button caption and modify the TEMPLATE<21,7> with a legend
passed from the calling program. I think this would be done at the "Add
your equates ..." just before "BEGIN GUI HEADER". Does this seem a
reasonable approach?
Hi Dale,

I don't really know what you are referring to when you talk about LIST.DIALOG. There is nothing of that name in the AccuTerm samples, but you do appear to be talking about an AccuTerm GUI application.

I wouldn't try dynamically changing the template because all the properties of the application can be changed dynamically by using the ATGUISETPROP and ATGUISETPROPS subroutines. And there are a whole heap of other subroutines to load/manipulate data within the GUI.

Spend some time going through the GUI manual (Help > Documentation > GUI Manual). In particular, look at these headings:

> The GUI Library > GUI Object Creation Functions
> The GUI Library > GUI Property Functions

The first reference goes through all the objects you can create within the GUI environment - and the important bit is that it lists all the properties and events for each object. So, you use this to determine which events you should activate for each object, and determine which properties you should set (or check) to do what you need to do.

The second reference details the subroutines you have available to do those things.

Look at the other headings in the documentation too, because there are some other subroutines there too.

If you are just starting with AccuTerm programming, go to www.rushflat.co.nz and download "Getting Started with OpenQM - Part 2". This mostly deals with programming in AccuTerm. If you aren't using OpenQM, that is OK - it should work just fine with any MV database. That at least will give you a guide to creating an AccuTerm application.

Cheers,

Brian



------------------------------
Brian Speirs
Senior Analyst - Information Systems
Self Registered
Wellington NZ
------------------------------
Hi Dale,

I don't really know what you are referring to when you talk about LIST.DIALOG. There is nothing of that name in the AccuTerm samples, but you do appear to be talking about an AccuTerm GUI application.

I wouldn't try dynamically changing the template because all the properties of the application can be changed dynamically by using the ATGUISETPROP and ATGUISETPROPS subroutines. And there are a whole heap of other subroutines to load/manipulate data within the GUI.

Spend some time going through the GUI manual (Help > Documentation > GUI Manual). In particular, look at these headings:

> The GUI Library > GUI Object Creation Functions
> The GUI Library > GUI Property Functions

The first reference goes through all the objects you can create within the GUI environment - and the important bit is that it lists all the properties and events for each object. So, you use this to determine which events you should activate for each object, and determine which properties you should set (or check) to do what you need to do.

The second reference details the subroutines you have available to do those things.

Look at the other headings in the documentation too, because there are some other subroutines there too.

If you are just starting with AccuTerm programming, go to www.rushflat.co.nz and download "Getting Started with OpenQM - Part 2". This mostly deals with programming in AccuTerm. If you aren't using OpenQM, that is OK - it should work just fine with any MV database. That at least will give you a guide to creating an AccuTerm application.

Cheers,

Brian



------------------------------
Brian Speirs
Senior Analyst - Information Systems
Self Registered
Wellington NZ
------------------------------
Hi Brian,

Indeed I have been going through the GUI library and paying attention to
exactly the things you point out. I have looked at the OpenQM Part 2
from your page. The LIST.DIALOG is a subroutine that, I think, is in
among the SAMPLES, or DEMO's or GUIAPPS. I see that you construct your
own GUI structure in your programs, (way ahead of me). I have not been
able to decrypt the name of the LIST.DIALOG header, but have determined
after making up 4 varieties of the dialog that the APP record is
consistent. Hence my inquiry. If I knew the name I could do it with the
"SETPROP" but haven't figured that out. Other than the legend all the
dialogs are identical. I appreciate your skills with AccuTerm as
revealed in your script. Hope I'll get to that point one day.

Dale


On 12/18/2022 02:46 PM, Brian Speirs via Rocket Forum wrote:
> Hi Dale, I don't really know what you are referring to when you talk
> about LIST.DIALOG. There is nothing of that name in the AccuTerm
> samples,...
> Invite your colleagues to join the Rocket Forum and grow our expert
> network.
> ------------------------------------------------------------------------
> Rocket Software
>
>
> MultiValue Tools
>
>
>
> Post New Message Online
>
> Invite your colleagues to join the Rocket Forum and grow our expert
> network. Share this link.
>
> Re: An AccuTerm whole hog question
>
>
> Reply to Group Online
>
> Reply to Group
>
>
>
> Brian Speirs
>
>
> Dec 18, 2022 3:44 PM
> Brian Speirs
>
>
>
> Hi Dale,
>
> I don't really know what you are referring to when you talk about
> LIST.DIALOG. There is nothing of that name in the AccuTerm samples,
> but you do appear to be talking about an AccuTerm GUI application.
>
> I wouldn't try dynamically changing the template because all the
> properties of the application can be changed dynamically by using the
> ATGUISETPROP and ATGUISETPROPS subroutines. And there are a whole heap
> of other subroutines to load/manipulate data within the GUI.
>
> Spend some time going through the GUI manual (Help > Documentation >
> GUI Manual). In particular, look at these headings:
>
> > The GUI Library > GUI Object Creation Functions
> > The GUI Library > GUI Property Functions
>
> The first reference goes through all the objects you can create within
> the GUI environment - and the important bit is that it lists all the
> properties and events for each object. So, you use this to determine
> which events you should activate for each object, and determine which
> properties you should set (or check) to do what you need to do.
>
> The second reference details the subroutines you have available to do
> those things.
>
> Look at the other headings in the documentation too, because there are
> some other subroutines there too.
>
> If you are just starting with AccuTerm programming, go to
> www.rushflat.co.nz and download "Getting Started with OpenQM - Part
> 2". This mostly deals with programming in AccuTerm. If you aren't
> using OpenQM, that is OK - it should work just fine with any MV
> database. That at least will give you a guide to creating an AccuTerm
> application.
>
> Cheers,
>
> Brian
>
>
>
> ------------------------------
> Brian Speirs
> Senior Analyst - Information Systems
> Self Registered
> Wellington NZ
> ------------------------------
>
> *Reply to Group Online
> *
> *View Thread
> *
> *Forward
> *
> *Flag as Inappropriate
> *
> *Post New Message Online
> *
>
>