Problem about ScrollBarMaxAlign

Posted by: huangxf on 8 September 2017, 12:44 pm EST

  • Posted 8 September 2017, 12:44 pm EST

    The property ScrollBarMaxAlign has been set true , however, the scroll bars cannot be
    scrolled to align with the last column/row.

    And is there any other method which can align the scrolls with the last row and column?

    Any help is greatly appreciated!


  • Replied 8 September 2017, 12:44 pm EST


    Are you talking about the extra gray area that shows when you are at the end of your scroll? If it is, there is nothng in the Spread to set to automatically not have that show. The only way to do this is to programatically set the widths of the columns and/or heights of the rows that are showing after you scrolled to the right/bottom, in such a way that the total width/height equals the width/height of the Spread control minus scrollbars.

  • Replied 8 September 2017, 12:44 pm EST

    Thank you very much for immediately replying to my question!

    Yes, I was indeed talking about the extra gray area. And now I have adjusted the widths/heights of the rows/columns so that

                 the width/height of the spread = the total widths/heights of the rows/columns +2

    then there is not the extra gray area.

    Thanks again!
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels