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.
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 :/