Results 1 to 2 of 2

Thread: Problem vith panels on picturebox when aurocrol is true

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    17

    Problem vith panels on picturebox when aurocrol is true

    Hi

    I have one problem. I have small form. on this form i have picure box, larger then form and autoscroll property of form set to true.

    On picture box i have some panels, which are unvisible by default.

    Then i start program. I move down with scroll and on some event i change panel property visible = true. And here i problem. Panel position is not on the same location on picture.

    Does anyone know solution?

    And i tried with changing AutoScrollPosition, it works, but this is not solution.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Sep 2008
    Posts
    17

    Re: Problem vith panels on picturebox when aurocrol is true

    I think that i solved problem.
    In design i have set panel visibility = true.
    Then i made one sub hidePanels (where i set visible = false for all panels).
    On form load i call this sub and now works :/

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