- Lloyd McBean
- PowerBuilder
- Tuesday, 28 November 2023 10:59 PM UTC
Hi.
I have a report, where I want to add a group_box or box object which I want to dynamically adjust in height based on the contents which will be in the group_box or box object within a DataWindow in Appeon 2023 R2 Build 2828 (latest). The purpose of this is to shade alternating rows, or section using a group_box or box which I want to grow in height based on the content/details it will shade.
I have tried using
(a) integer(describe("DataWindow.header.4.height")) and
(b) long(Describe("Evaluate('RowHeight()'," + GetRow() + ")")) - long(Describe("DataWindow.header.4.height"))
(c) integer(describe("datawindow.header.4.VerticalScrollMaximum"))
In each case its not grabbing the dynamically changing height as needed.
Is there a way to get this to work to dynamically adjust the height as contents of the Band grow dynamically?
Any help would be great. Right now I am disabling the feature but It would be a nice to have as it will allow the grey-shading of alternate areas that I desire.
Thanks in advance.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.