Print Page | Close Window

New Features Wish List, Next GUI Version

Printed From: Rocket Software
Category: AccuTerm Knowledge Base (read only)
Forum Name: GUI Development
Forum Description: Help for developers creating GUI applications with AccuTerm
URL: https://forum.asent.com/forum_posts.asp?TID=75
Printed Date: March 26 2026 at 5:07pm
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: New Features Wish List, Next GUI Version
Posted By: Deech
Subject: New Features Wish List, Next GUI Version
Date Posted: April 04 2004 at 4:11am

Attention Fellow GUI Developers:

This "wish list" of new features for AccuTerm GUI has been updated as of May 2010.  All of the items which were added to AccuTerm 7 GUI have been moved to a new topic. The remaining items, and any ones added by our developers, have not yet been implemented, and would be candidates for future releases.

I know there are a number of potential enhancements that I would like, and I'm sure there are some that you could suggest as well. After reviewing the suggested enhancements please post your suggestions, one enhancement per post to this topic.

Thanks for your input, I know we can all work together to improve this wonderful development tool.

Thanks,

Deech & Pete




Replies:
Posted By: PatrickL
Date Posted: April 08 2004 at 1:44am
Change GUIARGS to return 0 in GCOL and GROW for
controls that do not have columns or rows. This
would allow more generic use of the ATGUIGETPROP
and ATGUISETPROP controls. I require the following
in all my processes to force this action now.
   IF TRIM(GROW)="" THEN
      GCOL=0;GROW=0
   END
The down side is this could break compatability
but would save a great deal of code. Is anyone
using GCOL or GROW for non-numeric values?

Patrick


Posted By: PatrickL
Date Posted: May 03 2004 at 12:13am
For ease of use, it would be great if the code generator inserted code that gets the value of the control GPVALUE
I know you have the gosubs already, if the sub call
retrieved the value of the control it would save coding.

This is especially true of List, Combo and Grid controls
and also on the validate event of and Text Control.

Also in the generated code for ATGUIWAITEVENT, setting the variables for GCOL & GROW would save a step. These would also be used to get the GPVALUE for the controls above. I
know this is a pure laziness issue, but developers are always looking for an easier way.

Thanks, Patrick


Posted By: PSchellenbach
Date Posted: May 03 2004 at 4:17am
Hi Patrick -

Sometimes the value is already there, just packed in the GUIARGS variable. The ATGUIWAITEVENT and ATGUICHECKEVENT return GUIARGS, which for some events (like GEVALIDATE) contains the new value, and sometimes the col and row values. Check the documentation for each control to see what useful information is returned already, and for which events.

The reason for not automatically setting up Value, Col and Row variables is the extra overhead in the call(s) to ATGUIGETPROP.

Thanks,

Peter


Posted By: Deech
Date Posted: May 05 2004 at 6:37pm
New Feature: The ability to create MDI child forms in GED under the Mutiple Application Model.

Description: Currently in Accuterm GUI Development environment there is an ability to create MDI applications. However, you cannot directly create a child form for an MDI Application under the Multi-Application model with out creating all projects with the same application name and then altering the MDI child form at run-time to allow the window to be mangaged by an MDI Parent window.

Benefit: Simplifying the creation of Multiple Application Model MDI applications will make Accuterm GUI environment applications appear and behave more like regular windows applications. Allowing the developer to create child windows from GED will make MDI application development faster and easier.

Impact: High

Don't know how I could have left that one out. Took Peter and I a while to figure out how it could be done in the present environment.

Update:

This maybe able to be addressed by adding an additional set of code templates? One that removes the application level and does things on the form level instead?

-------------
Accuterm GUI--Changing the Face of MV Development!!


Posted By: Deech
Date Posted: May 12 2004 at 2:48am
New Feature: New Combo Box Property - Display Value

Description: Currently in combox properties on the List properties tab there is a check box called data column. When this option is checked, the edit control gets the value of that list column. I would like a new property called Display column that would cause the value of the edit control to be displayed as the selected column. However, the GPVALUE property of the control when retreived by ATGUIGETPROP should be the value contained in Data column field.

Benefit: Allow for Combox Boxes to behave more like VB combo boxes. VB Controls have a List Property which is the display and ItemData property which are the related values of the data.   This will allow a text code to diplayed when the item selected especially for defaulted control values

-------------
Accuterm GUI--Changing the Face of MV Development!!


Posted By: PSchellenbach
Date Posted: May 12 2004 at 6:00am
Hi Deech -

If you need a special "display column" in a combo box, perhaps using a dropdown list would be a better solution. The Value property will return the index of the selected item, and the "data column" would be the "display column". Just a thought...

Thanks,

Pete


Posted By: PSchellenbach
Date Posted: June 17 2004 at 12:33pm
Hi Edith -

I will look at this for the next version. The problem I forsee is that the GUI designer and the program editor are separate programs. The designer knows how to control the editor, but not vice-versa, so the editor does not have a clean way to ask the designer what the status of the code is. I may be able to add some kind of indicator on the designer toolbar to indicate that the code needs updating.

Thanks,

Pete



Posted By: Deech
Date Posted: June 25 2004 at 4:54pm
New Feature: GED Control Multi-select

Description: The ability to select and manipulate multiple controls on a form in the GUI Designer. Basically, this would allow the user to select a bunch of controls and move them as a group. If the controls are all of the same type, they should be able to set any property of these control and have it affect all selected controls. If multiple controls types are selected only properties common to all selected controls types would be available for update.

Recommendation: Take a look at VB form designer.

Benefit: Allow more efficient form maintenance. Making it easer to arrage related controls as one unit.

Impact: High

-------------
Accuterm GUI--Changing the Face of MV Development!!


Posted By: Deech
Date Posted: June 25 2004 at 5:08pm
Recommendation:

Hi Pete,

As to the WED/GED code editor/update issues, I would suggest that GED have its own internal editor. Now don't get me wrong, I love WED and use it to edit both my GUI programs and my regular TUI (Terminal User Interface) programs as well but if there are issues getting them to communicate correctly, leave WED standalone and add an integrated editor to GED. You should still be able to edit GUI code with WED of course but the internal editor would be very much controlled by the form.

This gives me another idea. You could look at from the other side of the problem, and make WED read the form and check the code on its own. This might require that you make a temporary copy of the form on the either the client or the host after every change so WED could "see" what has been done to the form by GED.

Well just some thoughts on an intersting problem. Now that I think about it an internal editor for GED would be cleaner way to go and would provide a more integrated development environment.

Deech

-------------
Accuterm GUI--Changing the Face of MV Development!!


Posted By: bneylon
Date Posted: August 25 2004 at 2:56am
I would like to see stored macros in the WED editor. Kinda like in UniData's AE.
For indstance:
=E C/EXTRACT(//`C/,/</`C/,0,0)/>`C/,0)/>`C/<1>//
This takes a line like:
IF EXTRACT(ACRO.REC(1),1,I,0) EQ '' THEN SWA=1; GO 120
and changes it to
IF ACRO.REC(1)<1,I> EQ '' THEN SWA=1; GO 120



Posted By: ediegray
Date Posted: September 15 2004 at 6:16am
Hi Pete,

Enhance the GUI engine to support more than one MDI so that mainevent processing can process more than one MDI.


thanks,
edith


Posted By: rkgozar
Date Posted: September 16 2004 at 1:06am
WED editor feature: light gray line at column 80

Just a convenience feature to show a faint line at column 80 for those of us wanting to format our code and comments so they don't wrap when displayed on dumb terminals.


Posted By: MartyG
Date Posted: September 16 2004 at 7:05am
Please add a property for tab order or a way to set the tab order on the form. It seems to order it in the order you add the controls to the form. Unfortunately sometimes the controls aren't added in the propper order.

Thank You
Marty

-------------
MartyG


Posted By: Deech
Date Posted: September 16 2004 at 7:51am
New Feature:

Description: In GUI Designer, when adding a new control they always appear at the top right corner of the form, even if you use a right click on the form to add the control.   Add a feauture that allows the placment of the control to occurr where the user right-clicked on the form.

This would make the GUI Designer a much easier tools to use.

Thanks,

Deech

-------------
Accuterm GUI--Changing the Face of MV Development!!


Posted By: rkgozar
Date Posted: September 24 2004 at 7:00am
New feature: form move event -- Whenever the user moves a form, fire a MOVE event.


Posted By: radtech
Date Posted: October 07 2004 at 1:09am
New Feature: Upper Case Font Option

MSWord has a check box within it's font properties called 'All Caps'. I think this option would be a valuable enhancement to the font properties of the AccuTerm GUI(similar to bold and italics).

Better still, would be an application option to 'Convert all text to uppercase'(similar to 'Enter same as Tab').

Thanks-Joe (Radtech)


Posted By: bneylon
Date Posted: July 12 2005 at 7:05am
I would like an enhancement in the WED editor. Many times when I am reviewing a program I will click on the gosub label to look at the associated subroutine. I would like an easy way to backup to where I had been before I branched away. Currently I write down the line number prior to clicking on the label. If I forget....

Thanks,
Bruce


Posted By: patrickp
Date Posted: August 16 2005 at 4:25pm
Tray Icon!!

I would love to have the ability to create a tray icon. This would be very helpful especially when we are hiding windows from the user.


-------------
Patrick Payne

Sierra Pacific Mortgage


Posted By: hemiii
Date Posted: October 10 2005 at 6:59am
I'm sure this is huge, but I'd like to be able to use the VBA script environment inside a GUI application. For instance, when I'm building a large 'excel' style grid control which does quite a bit of internal calculation and summation, I'd like to be able to handle that within a scripted routine rather than transfering back to the server for simple math.

-------------
Harold E Miller III (Trey)


Posted By: homerlh
Date Posted: March 06 2006 at 6:18am
Greetings,

First - I really love this most excellent product, so don't take my comments as negative.

I do lots of search and replace in WED, particularly when I'm working on somebody elses programs. I like more space in the code, so I change "x,x" to "x, x" and other such pretty up things. I would like the search and replace box to be anchored to the upper right hand side of the WED screen. I either have to move it there every time I do this search and replace of else I have to chase the form around on the screen.

Thanks,

Larry Hazel


Posted By: homerlh
Date Posted: March 06 2006 at 6:20am
Greetings,

Another WED question. One of the nice things I like about the old ED editor is its ability to display all of the lines that contain a given set of letters.

I do a lot of "L9999/FRABITZ/" to see every line on which frabitz occurs. I can do the same thing with the FIND command, but I only get to see lines one at a time.

How about some type of "command line" entry that lets me type in an old fashioned ED command, which would then pop up a window with only the lines containing whatever displayed.

Larry Hazel


Posted By: homerlh
Date Posted: March 21 2006 at 5:12pm
WED File Comparison

Long ago and way back when, there was an editor called Norton Editor. You loaded up two files and one of the many things you could was a character by character comparison. You pressed F6-T and the comparison started.

It displayed the two files as two horizontal windows and started a cursor moving down through each file - character by character and line by line. If any mismatches occurred, it would stop the scan and let you edit the files to correct the mismatch.

I've long wanted WED to be able to do this.

Larry Hazel


Posted By: acmedia
Date Posted: April 27 2006 at 6:50am
A WishList item - when a control is deleted from a form the code behind it is deleted, but the lines of asterisks seperating that code from the code of other controls is leaf behind. If you do a lot of creating and deleting you end up with pages of asterisks - could they be deleted with the code?


Posted By: acmedia
Date Posted: May 03 2006 at 5:17am
When a form is loaded into GED (file -> open) could it opening into the editing window? At the moment it's loaded, then you have to click on one of the controls in the tree before it appears.


Posted By: acmedia
Date Posted: May 03 2006 at 5:26am
How about the grid control having an auto-resize event? It would be fired after it looses focus and if there's been a change in the contents the columns are resized to suit the contents.


Posted By: homerlh
Date Posted: May 04 2006 at 7:15am
Greetings,

First to acmedia, I've got some code I will share, if you like, that sets the column widths of the grid just after it sets the contents. As I'm filling the INFO to put into the grid, I check each field to the minimum as well as to the data stored in the column. When I set the items, I next set the GPCOLWIDTHS. It's not perfect since there is not a 1 to 1 correlation between how many characters are in a given field and the width of the field.

Next - GED & WED. I'm using GED to create and edit a report for a client. I just created a LIST item and click on Edit-Code for CLICK and sure enough, I was switched to the WED program at exactly the right position to do my editing.

Unfortunately, I generally run my monitors at a pretty high resolution. This one is at 1280 x 1024 AND I was not able to see the tiny little cursor.

Can you give us an option in WED for a BOX cursor as is done in AccuTerm?

Thanks,

Larry Hazel


Posted By: acmedia
Date Posted: May 09 2006 at 6:02am
Wishlist: could there be two busy messages - one would be as it is now, a busy message while waiting for a response from the server, and the other would be a dropped into the debugger message.


Posted By: PSchellenbach
Date Posted: May 09 2006 at 9:31am
Hi All -

GUI version 1.3 is nearly ready for beta. Regarding some of the items in this topic that are addressed in the new release:

1) wED is a separate, but tightly integrated, application. Only a few wED enhancements are included in the new 5.3a AccuTerm release. We hope to introduce an updated wED sometime this summer, incorporating many of the requested enhancements.

2) Help hints (tooltip) are now available for tree nodes, grid columns, and individual grid cells.

3) The grid now has an AltColor property, to use for alternating row background color.

4) The grid now supports user-resizable columns (there is a new gpColSizable property). A Resize event is fired after the user resizes a column.

5) When a tree node is expanded or collapsed, a new Status event is fired.

6) When deleting an unused event handler, the extra asterisks should also be deleted, as long as they have not been modified (no new lines inserted or deleted, etc.)

7) When opening a project using GED, the application object is initially selected. Since this object does not (normally) have any visible interface, nothing shows in the layout window. When a MDI application is loaded, the app object does have a visible interface, so the MDI parent form is displayed in the layout window. This is by design.

8) Having two "busy" messages is not feasible - its very system-dependent how to recognize that a process is in the debugger vs. just crunching with a little garbage printed on the screen.

Thanks,

Pete




Posted By: acmedia
Date Posted: May 16 2006 at 12:12pm
When creating a menu there's a drop down list of the ToolIDs which AccuTerm has built in routines for (exit, print, etc). Would it be possible for these to have default icons to go along with them? Perhaps a flag "use default", or the icon path is already filled in?


Posted By: ProBlazer
Date Posted: July 28 2006 at 8:11am
Wish List - Please create a date picker control that's integrated into WED like a text box or command button is.  I'm aware of the datepicker available in the example codes section, but having this built in would be a great help.


Posted By: CALIDORE
Date Posted: October 17 2006 at 9:08pm

A new control similar to the text box control but with additional user runtime controls, much like the message box I used to key this in, i.e. features to modify font, color justification etc.



-------------
KMW


Posted By: ProBlazer
Date Posted: January 19 2007 at 2:07am
please add a value in the event loop that will tell you the location(top,left) of the pointer.


Posted By: pierre
Date Posted: February 27 2007 at 5:39am
What I'd like to see in WED:

-Highlight 1 or more lines of code as 'bookmarks' so that you can quickly spot the piece of code you're working on as you're scrolling through the program.
-In the search feature add an option to highlight matches. Kind of like the search feature in Firefox. You can scroll through the page a quickly spot all matching strings.

Other than that, I'm loving it all.

Thanks Pete.


Posted By: DewaltDakota
Date Posted: March 02 2007 at 2:15am

Update for wED Format feature:

The final "END" statement, located at the end of the program code should only be indented three positions, not six


Posted By: homerlh
Date Posted: March 02 2007 at 3:07am
Hi Dewalt,

I like the program preamble (that stuff at the top that includes PROGRAM and various comment lines) to be against the left margin. I like line numbers or statement labels to be against the left margin. I like everything else indented and formatted. BUT, I like the final END statement against the left margin.

So, what I do, is temporarily insert a line after the preamble which reads

IF 1=1 THEN

and then I format the code with a margin of x characters and an indent of x characters (x is sometimes 2, sometimes 3).

That way, I get exactly what I want and if I forget to remove the IF 1=1 THEN line at the top, no harm no foul.

Larry Hazel


Posted By: homerlh
Date Posted: March 05 2007 at 8:51am
Greetings,

I just hit a snafu in WED that I forget about until it happens then I wonder why it happens.

I'm debugging a particularly annoying program with lots of similar variable names. I was going to add one of the variable names as a USER variable, to get it highlighted. Unfortunately, the variable name has periods contained therein.

Wed tells me that I cannot have a period as part of a user variable name.

Is it possible that this can be changed?

Thanks,

Larry Hazel


Posted By: PSchellenbach
Date Posted: March 06 2007 at 2:42am
Larry - the current version (1.4.107) allows some punctuation characters in user keywords. Periods are OK, but parens, comma, semicolon and blank are not.

Thanks,

Pete


Posted By: homerlh
Date Posted: March 06 2007 at 6:08am
Pete,

Boy - do I wish I had upgraded before I asked the question.

Thanks for the update.

I'll upgrade now.

Larry Hazel


Posted By: CALIDORE
Date Posted: March 16 2007 at 4:29am

Version Control for each Form.

I would like to declare the version number of the form in Ged which would then checked by ATGUIRUNMACRO to determine if the form on the client's cache needs replacing.

-------------
KMW


Posted By: PSchellenbach
Date Posted: March 16 2007 at 5:11am
Hi Calidore -

If you would like to maintain a timestamp for each form, each form needs to be in its own macro. Calling ATGUIRUNMACRO will check/validate the cache automatically. But you would need to call ATGUIRUNMACRO for each form individually, rather than combining a bunch of forms in a single macro.

Thanks,

Pete


Posted By: usaeagle
Date Posted: March 20 2007 at 3:14am
Ability to change the color of Tree control text items.
 
When using the Tree control I would like to see the ability to be able to change the text color.  So if I have a menu and the user does not have permission to run the menu item, I would like to still show those items on the menu, but have the text in a different color.


Posted By: CALIDORE
Date Posted: April 11 2007 at 12:32am

Access privilege control on menus, toolbars and all control items.

Possibly add a grid to each controls properties, which would have a security code range of say 1-99, with the ability to specify the access control for each code, e.g. Full, Read-Only, Disable, Hide etc.
 
When the form is built the access code for the current user would be passed to ATGUIRUNMACRO and the form would be modified with the relevant access restrictions.
 


-------------
KMW


Posted By: mlucas67
Date Posted: June 22 2007 at 3:03am
On detecting when in the debugger...
 
What if the Windows side of the AccuTerm GUI watched for the typical prompts that the debugger uses on various systems, then after a bit of waiting if nothing else happens send a ? to see if you get the proper response from the debugger.  If so then display Debugger Active (maybe even give a GUI interface to the debugger prompt so wouldn't have to switch back to AccuTerm, but could step through code in GUI).
 
Something along that line might work, I would have to see the Windows code first to determine exactly how you detect the "stalled" condition.
 
Marshall


Posted By: begoodwin
Date Posted: June 27 2007 at 8:25am
The green screen version of acccuterm can be made bigger or smaller by draging the corner of the screen, but the GUI version does not have that feature. Is it posible that it might in the future?
Bryce


-------------
Bryce


Posted By: CALIDORE
Date Posted: July 10 2007 at 9:36pm

Include a new property (for multi-line text boxes) to assign the maximum number of characters per line before word wrapping to a new hard CR line.




Posted By: bneylon
Date Posted: July 23 2007 at 3:45am
I would like an option with "Save As" in the WED editor.  I would like to save as, but to stay in the record I am in rather than switching to the saved as program.  We save a version of programs we update into an "OLD" file with the ID with the date appended.  I can save as BP.OLD ID.07232007, but then I am editing ID.07232007, I want to remain with ID.

Thanks,
Bruce


Posted By: mikkane
Date Posted: September 19 2007 at 10:38pm
Wishlist item: Can a validate event supply the control's previous value as well as the changed value?

-------------
Mark


Posted By: dynamic
Date Posted: January 23 2008 at 7:26am
I saw this back on page 1, but I think it's worth repeating. Allow roping or multiple selection of controls in the GUI Designer. This will allow you to drag related controls around the form. Makes inserting a control much easier than moving all subsequent controls on at a time.


Posted By: dynamic
Date Posted: January 26 2008 at 5:19am

This is not a major thing. A Line object would be nice. You could use it to divide a form up. Flat or 3d option on it.

 
Andy


Posted By: CALIDORE
Date Posted: March 26 2008 at 12:04am

Option for the FTD Status Window to be a Windows Dialog Window to allow the user to monitor progress.



-------------
KMW


Posted By: mikkane
Date Posted: June 07 2008 at 2:01am
Originally posted by CALIDORE CALIDORE wrote:

A new control similar to the text box control but with additional user runtime controls, much like the message box I used to key this in, i.e. features to modify font, color justification etc.



I too would like this feature, preferably a control which accepts and passes back HTML code.


-------------
Mark


Posted By: w_godsoe
Date Posted: September 17 2008 at 6:12am
How about a control that is an equivalent to the MS heirarctical grid. This control would lend itself to multivalue drill downs.


Posted By: pholmes
Date Posted: May 28 2010 at 3:32am
In reference to Deech's desire to be able to manipulat emultiple controls at a time in the GED: I was sorry to see that this is not in the new release - I would find this of great benefit as well, Deech


Posted By: dynamic
Date Posted: January 19 2011 at 2:19am
How about an option for ATGUIMSGBOX that would allow for a check box with a caption. I would use it for a "do not show this message again" option.

I just came here to request this and saw I did it last month so it must be something I could really use.

You could add 100 to the style argument to make the check box appear, and add 100 to the response argument if the box is checked. That would make the call compatible with older versions.


Posted By: dynamic
Date Posted: May 23 2011 at 3:05am
Sizable column option in list boxes like we have in grids would be nice.


Posted By: dynamic
Date Posted: January 16 2012 at 6:50am
A new tab in control properties called "Notes" for programmer notes. It would just contain a free form text box that we can make notes in.


Posted By: dkramer
Date Posted: January 26 2012 at 10:31am
More of an annoyance, scrolling left to right on a grid control snaps to the edges of the column rather than smoothly scrolling in either direction. For example if you have two columns in a grid control with a width of 200. Column 1 is 400 wide and Column2 is 10. If I scroll right Accuterm's GUI automatically snaps to Column2 so I have no way of seeing the hidden remaining 200 characters of Column 1. Please can you fix this for us? Thanks!


Posted By: rkgozar
Date Posted: March 06 2012 at 6:22am
Please add control "anchor" properties (like Visual Studio) so when the user resizes a form, the controls can maintain their proper position and grow/shrink. I currently have this implemented using the resize event, but that of course requires a round trip to the server to update the control locations and sizes.


Posted By: dynamic
Date Posted: December 05 2012 at 1:53am
I'm not sure if this is the correct place to request a change in WED, but I'm sure it will be seen. Please add a toolbar button and / or function key that would simply put "IF GUIERRORS<1> >= 2 THEN GOTO GUI.ERROR" into a line. I can't tell you how many times a day I either type that or paste it.


Posted By: rkgozar
Date Posted: December 05 2012 at 2:57am
Instead of typing or pasting the entire line, create a literal equate.

It may be nice to have a code snippet library that can insert code with a couple keystrokes.


Posted By: PSchellenbach
Date Posted: December 05 2012 at 3:33am
Snippets are definitely on the "wish list" for wED, and would be the proper way to handle this.

Pete


Posted By: Shrek59
Date Posted: August 20 2013 at 3:50pm
Hi Pete,

Would it be possible to enhance the checkbox control to allow a tri-state display. i.e. True, False, or indeterminate?

Thanks,

Brian Speirs


Posted By: Shrek59
Date Posted: April 16 2014 at 4:02pm
Hi Pete,

Multiple monitors are pretty standard in most workplaces now. It would be pretty handy if dialog boxes could appear on the same monitor as the parent application.

Actually, what I'm really referring to here are secondary forms defined within the application. The first time you display one of these forms (any form really), it will appear on the main monitor - even if you've already moved the main form to a second monitor.

Likewise, an ATGUIINPUTBOX will also always appear on the main monitor.

It would be really nice if any forms being displayed could appear on the same monitor as the primary form of the application.

Cheers,

Brian Speirs


Posted By: lucasn
Date Posted: October 07 2016 at 4:03pm
Hi Pete,

If it were possible to support GESTATUS on Picture controls as is done with command buttons, things like clickable maps could be developed without exhibiting the button motion.

Thanks,

Lucas


Posted By: Shrek59
Date Posted: November 14 2016 at 12:55pm
Hi Pete,

I'm usually working with multiple monitors. These typically have different screen sizes and/or different resolutions than my notebook screen. This means that something that looks well sized on one screen may appear too small or too large on the other screen.

It would be nice if WED had some font size change buttons on the toolbar so that I could quickly change the size of the font after moving from one screen to another.

Cheers,

Brian


Posted By: Shrek59
Date Posted: August 05 2017 at 10:33pm
Hi Pete,

Here are a couple of suggestions for future enhancements to WED:

1. Add some kind of "intellisense" feature for MV syntax. For example, if you type in:

afield = FIELD(

then some hover text would appear showing the syntax for the FIELD function. An alternative to hover text would be for the user to press <enter> after the open parenthesis as a signal for WED to look up the function syntax. In this case, the syntax could be written to the line following the parenthesis.

Given that the different MV flavours have different functions and statements, it would be helpful if this was implemented like the keywords within WED. This would let users extend the initially defined set of functions/statements; or a variety of default sets could be provided to cater for different flavours.

2. This could be extended to look up the syntax of CALL'ed subroutines. When the user enters:

CALL MYSUB(<enter>

WED makes a call back to the server to get the syntax of MYSUB and places it on the line after the parenthesis. Clearly, this assumes some method of getting the path back to the source code from the VOC/MD entry or the local or global catalog. QM has the !FINDPROG subroutine to do this for you, but I'm not aware of an equivalent in UV.

Adding these functions would make WED an even better editor for MV programming.

Cheers,

Brian Speirs



Posted By: lucasn
Date Posted: November 01 2017 at 1:45pm
Hi Pete-

Some properties to more directly control scroll positions in AccuTerm GUI controls would be helpful.

I have a use-case of a fixed-sized multi-select list box with contents based off a query.
A button kicks off another form to handle the multiple selections and, upon returning, the list box inevitably must be refreshed.

My users want the list box to "remember" the prior scroll position and selections (assuming they're still part of the list).
I can get close by re-selecting list items, but unless the list size is a nearly-exact multiple of list item size, the last selected item may not scroll completely into view.

Being able to get or set scroll positions with a 0 - 100 value would be very useful for something like this.

Thanks!

Lucas


Posted By: Shrek59
Date Posted: December 15 2019 at 4:53pm
Hi Pete,

There are (quite a few) occasions when I want to know which control was active PRIOR to the current control. This information is present in the ACTIVATE event for most controls, but I don't really want to put ACTIVATE (or DEACTIVATE) events on all controls just so that I can determine which was the previously active control.

I assume this information is maintained internally within the AccuTerm GUI. Can this be exposed via a call like ATGUIGETACTIVE (maybe ATGUIGETPREVACTIVE, or ATGUIGETACTIVEHISTORY).

Thanks,

Brian


Posted By: TonyG
Date Posted: December 16 2019 at 11:12am
Originally posted by Shrek59 Shrek59 wrote:

Can this be exposed via a call like ATGUIGETACTIVE (maybe ATGUIGETPREVACTIVE, or ATGUIGETACTIVEHISTORY).
Brian, try something like this (pseudocode, system is not in front of me) :

CALL ATGUIGETPROP(APPID,NULL,NULL,GPSTATUS,1,0,ACTIVECONTROL,GUIERRORS,GUISTATE)
IF NOT(ASSIGNED(ACTIVECONTROLS)) THEN ACTIVECONTROLS=STR(@VM, 2 - 1) ; * always subtract one from desired element count
IF ACTIVECONTROLS<1,DCOUNT(ACTIVECONTROLS<1>,@VM)> # ACTIVECONTROL THEN ACTIVECONTROLS = DELETE(ACTIVECONTROLS,1,1) :@VM: ACTIVECONTROL


The GXROOT (application) object has the current active control. I don't know when that gets updated, if it's by a change in focus or if it's only set by Activate. That might be the change you're requesting.

ACTIVECONTROLS is a push/pop stack with 2 values. Whenever there is a difference in the currently activated control, it pushes the control name onto the back of the stack and deletes the first element. So the N-1th element is always the previous control and the last is always the current. I don't see a need for more than 2 elements, but if you set the number of initial value marks to 4-1, for example, that's 4 values that get rotated. (Line only gets executed once, more readable, no inefficiency.)

HTH
T

-------------
Tony Gravagno Nebula Research & Development
TG@ Nebula-RnD . com
http://Nebula-RnD.com/blog
http://Twitter.com/TonyGravagno
http://groups.google.com/group/mvdbms
https://www.linkedin.com/groups/64935


Posted By: Shrek59
Date Posted: December 16 2019 at 12:44pm
Nice try ... BUT it needs an event to fire before we can query the application for the current active control.

Most of the events I set are VALIDATE, CHANGE, or CLICK. And none of them will fire if we don't change any data. On that basis, your idea will only collect the list of controls that actually fired an event, which isn't really what I want.

Of course, I could set ACTIVATE events on all/most controls, and deal with it that way, but I don't really want to do that.

Thanks,

Brian


Posted By: TonyG
Date Posted: December 16 2019 at 12:55pm
Yeah, figured, sorry.
"I don't know when that gets updated, if it's by a change in focus or if it's only set by Activate. That might be the change you're requesting."

-------------
Tony Gravagno Nebula Research & Development
TG@ Nebula-RnD . com
http://Nebula-RnD.com/blog
http://Twitter.com/TonyGravagno
http://groups.google.com/group/mvdbms
https://www.linkedin.com/groups/64935



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.03 - http://www.webwizforums.com
Copyright ©2001-2019 Web Wiz Ltd. - https://www.webwiz.net