|
-
May 26th, 2010, 12:20 AM
#1
Thread Starter
Junior Member
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.
-
May 26th, 2010, 12:48 AM
#2
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|