devxlogo

Finding Column and/or Row Height

Finding Column and/or Row Height

Question:
I have a column that is set to Autosize Height. I would like to find the column height for this column on each row after the data has been placed in it and it has been autosized.

Answer:
You can use the RowHeight() function inside the datawindow painter to return how high the detail band is. This can be used in conjunction with the y2 property of a line to make the size of the line autosize to match the height of the band.

devx-admin

Share the Post: