Unplanned
Last Updated: 30 Mar 2016 09:38 by ADMIN
ADMIN
Dimitar
Created on: 24 Dec 2014 13:11
Category: PageView
Type: Bug Report
0
FIX. RadPageView - when the page contains a scrollbar and the page is maximized the scrollbar is not hidden.
To reproduce:
- Add PageView to a form and set its Dock property to fill.
- Add single page and set its AutoScroll property to true.
- Add some controls and make sure that a scrollbar will appear.
- Start the application and scroll to the bottom.
- Maximize the form. You will notice that the scrollbar position is wrong.

 Workaround:
protected override void WndProc(ref Message m)
{
    if (m.Msg == 0x0112) 
    {
        if (m.WParam == new IntPtr(0xF030)) 
        {           
            this.radPageView1.SelectedPage.AutoScrollPosition = this.radPageView1.AutoScrollPosition;
        }
    }
    base.WndProc(ref m);
}
0 comments