Solved TD-24383, TD-25538: Zooming and anchoring feature

Missing or incomplete OpenText Gupta product features? Discuss it here!
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3482
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-24383, TD-25538: Zooming and anchoring feature

Post by Dave Rabelink » 28 Mar 2019, 07:26

As discussed in

viewtopic.php?f=2&t=61868


Summary

In Gupta Team Developer (TD), customers request to implement zooming and anchoring feature in a framework as currently, such feature does not exist requiring the programmer to implement there own solution to resize dynamically the child controls.

Tracking Number

TD-24383


https://knowledge.opentext.com/knowledg ... KB12099145
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3482
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Dave Rabelink » 09 Nov 2020, 09:52

Implemented in TD 7.3
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 623
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Uwe van der Horst » 09 Nov 2020, 17:09

It has been implemented, but the implementation is very rudimentary.In Attribute Inspector you find the attributes "Vertical Anchor" and "Horizontal Anchor". You can set these attributes to "Top/Bottom/Both/None". This leads to a major limitation. There is no way to resize the elements in proportion to the form window. Only one "level" (= items next to each other or items below the other) can be resized horizontally or vertically. I have requested to add a function to provide the proportional resizing percentage of the elements. I also requested a new flag for grid columns to be able to resize them also in proportion to its parent.
Best regards,
Uwe van der Horst
stp.one

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 623
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Uwe van der Horst » 26 Nov 2020, 13:53

TD-25538 - Request to add new attributes to specify a percentage for each element for resizing both horizontally and vertically - is scheduled to implement in TD 7.5
Zooming was part of the DevDay presentations and is scheduled for TD 7.4. Very good feature.
Best regards,
Uwe van der Horst
stp.one

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3482
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Dave Rabelink » 21 Jul 2021, 10:00

TD-25538 is implemented in TD 7.4
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 623
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Uwe van der Horst » 21 Jul 2021, 11:02

It is listed in the release notes, but I don't see this
Best regards,
Uwe van der Horst
stp.one

Igor Ivanovic
Site Admin
Site Admin
Croatia
Posts: 1473
Joined: 05 Mar 2017, 12:37
Location: Zagreb, Croatia

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Igor Ivanovic » 21 Jul 2021, 13:00

Me neither... :? :?
Igor Ivanovic
Image

aspurga
Lithuania
Posts: 145
Joined: 06 Mar 2017, 08:54
Location: Lithuania

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by aspurga » 22 Jul 2021, 16:44

A bit strange zooming, I can set up the zoom to 150 or 400 but not to less than 100

Nils Jänicke
Germany
Posts: 423
Joined: 20 Sep 2017, 11:56
Location: Villingen-Schwenningen, Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Nils Jänicke » 23 Jul 2021, 09:37

And it doesn't work on dialogs and dockable dialogs

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 623
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Uwe van der Horst » 25 Jul 2021, 18:37

aspurga wrote:
22 Jul 2021, 16:44
A bit strange zooming, I can set up the zoom to 150 or 400 but not to less than 100
That is correct. TD 7.4 uses simply the font size as basis for the zoom feature. So the zoom works between 100% and 400% without discrete little steps < 25.

If you want to use this feature, you should be aware of conflicts if your application contains elements that are manually sized, such as Windows Defaults of TD, in the Attribute Inspector, SalFontSet() or elsewhere.
Best regards,
Uwe van der Horst
stp.one

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 623
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Uwe van der Horst » 25 Jul 2021, 18:46

Nils Jänicke wrote:
23 Jul 2021, 09:37
And it doesn't work on dialogs and dockable dialogs
It works, but contrary to the documentation SalZoomWindow( hWndForm, nZoom ) is an application setting. It is not possible to have different zoom factors for different top level windows. The first parameter is actually without function.
Screen Shot 07-26-21 at 10.46 AM.PNG
I took part in the beta test. At first it was possible to set a different zoom factor for dialogs, but there were some ugly effects. Opentext then opted for a pragmatic solution :?
In the private betatest discussion I got this information from Opentext:
Now SalZoomWindow ignores window specified as argument and zoom all TD windows. This zoom functionality is done by changing logical resolution of display (emulating display scaling) so that it's so hard to zoom only specific form window. I haven't changed SalZoomWIndow prototype because we might support it in the future.
*edited*
You do not have the required permissions to view the files attached to this post.
Best regards,
Uwe van der Horst
stp.one

Uwe van der Horst
Site Admin
Site Admin
Germany
Posts: 623
Joined: 05 Mar 2017, 14:21
Location: Wetter (Ruhr), Germany

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by Uwe van der Horst » 03 Aug 2021, 10:05

Nils Jänicke wrote:
23 Jul 2021, 09:37
And it doesn't work on dialogs and dockable dialogs
Nils, you are totally right, in TD 7.40 it does not work. Gupta changed the behaviour during the beta test. I opened a ticket.

viewtopic.php?f=26&t=73394
Best regards,
Uwe van der Horst
stp.one

a_sivababu
India
Posts: 505
Joined: 10 Mar 2017, 08:46
Location: Chennai,India

Re: TD-24383, TD-25538: Zooming and anchoring feature

Post by a_sivababu » 04 Aug 2021, 02:58

OpenText/Gupta should have special release, say TD 7.5 only for Zoom and Anchoring for Windows and WPF and take care everything in this release.

Thanks!
Sivababu A

Return to “Enhancement suggestions”

Who is online

Users browsing this forum: No registered users and 0 guests