Results 1 to 2 of 2

Thread: Weird .NET issue with autoscroll panels

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Location
    Austin, TX
    Posts
    77

    Weird .NET issue with autoscroll panels

    I've encountered the following bug with .NET (WinForms) and was wondering if anyone has seen the same thing.

    Basically WinForms isn't scrolling controls that have their visibility set to false. Here is an example:

    1) Create an autoscroll panel with a control whose initial visiblity is false
    2) Scroll the panel a little bit
    3) Do something to change the control's visibility to true

    Now the control whose visibility just changed is in the WRONG place - it doesn't look like the control is receiving the scroll notifications.

    Has anyone seen this? If so, are there any workarounds?

    I've attached a demo app (C# 2003) to demonstrate the problem.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width