-
Panel AutoScroll
I'm having trouble restoring a panel's auto scroll position after resizing
some of its contained controls.
To store the current scroll position, I make a copy of the panel's auto scroll
position as follows:
oAutoScrollPosition = New System.Drawing.Point(m_panPanel.AutoScrollPosition.X,
m_panPanel.AutoScrollPosition.Y)
Then to restore after resizing the contained controls, I do this:
m_panPanel.AutoScrollPosition = oAutoScrollPosition
Problem is that this code has no effect. The scroll position is not restored.
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks