TD-24383, TD-25538: Zooming and anchoring feature
-
- Founder/Site Admin
- Posts: 3482
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
TD-24383, TD-25538: Zooming and anchoring feature
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
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
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
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
-
- Founder/Site Admin
- Posts: 3482
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: TD-24383, TD-25538: Zooming and anchoring feature
Implemented in TD 7.3
Regards,
Dave Rabelink
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
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: TD-24383, TD-25538: Zooming and anchoring feature
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
stp.one
Re: TD-24383, TD-25538: Zooming and anchoring feature
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.
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
Uwe van der Horst
stp.one
-
- Founder/Site Admin
- Posts: 3482
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: TD-24383, TD-25538: Zooming and anchoring feature
TD-25538 is implemented in TD 7.4
Regards,
Dave Rabelink
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
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: TD-24383, TD-25538: Zooming and anchoring feature
It is listed in the release notes, but I don't see this
Best regards,
Uwe van der Horst
stp.one
Uwe van der Horst
stp.one
Re: TD-24383, TD-25538: Zooming and anchoring feature
A bit strange zooming, I can set up the zoom to 150 or 400 but not to less than 100
Re: TD-24383, TD-25538: Zooming and anchoring feature
And it doesn't work on dialogs and dockable dialogs
Re: TD-24383, TD-25538: Zooming and anchoring feature
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
stp.one
Re: TD-24383, TD-25538: Zooming and anchoring feature
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.
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:
*edited*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.
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
stp.one
Re: TD-24383, TD-25538: Zooming and anchoring feature
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
Uwe van der Horst
stp.one
Re: TD-24383, TD-25538: Zooming and anchoring feature
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
Thanks!
Sivababu A
Who is online
Users browsing this forum: No registered users and 0 guests