Rocket Software Homepage
Forum Home Forum Home > AccuTerm Knowledge Base (read only) > GUI Development
  New Posts New Posts RSS Feed - New Features Wish List, Next GUI Version
  FAQ FAQ  Forum Search   Register Register  Login Login

The AccuTerm forum has moved. Go to community.rocketsoftware.com to register for the new Rocket forum.

Forum LockedNew Features Wish List, Next GUI Version

 Post Reply Post Reply Page  <1 234
Author
Message
rkgozar View Drop Down
Newbie
Newbie


Joined: August 31 2004
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote rkgozar Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
PSchellenbach View Drop Down
Admin Group
Admin Group

Moderator

Joined: December 15 2003
Location: United States
Status: Offline
Points: 2150
Post Options Post Options   Thanks (0) Thanks(0)   Quote PSchellenbach Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
lucasn View Drop Down
Newbie
Newbie


Joined: September 02 2016
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote lucasn Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
lucasn View Drop Down
Newbie
Newbie


Joined: September 02 2016
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote lucasn Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
TonyG View Drop Down
Beta Tester
Beta Tester


Joined: February 04 2004
Location: United States
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyG Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Shrek59 View Drop Down
Senior Member
Senior Member


Joined: December 04 2006
Location: New Zealand
Status: Offline
Points: 208
Post Options Post Options   Thanks (0) Thanks(0)   Quote Shrek59 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
TonyG View Drop Down
Beta Tester
Beta Tester


Joined: February 04 2004
Location: United States
Status: Offline
Points: 127
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyG Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply Page  <1 234
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.03
Copyright ©2001-2019 Web Wiz Ltd.