Re: Panel Height
- From: v-lliu@xxxxxxxxxxxxxxxxxxxx (Linda Liu [MSFT])
- Date: Fri, 18 Aug 2006 08:14:02 GMT
Hi Peter,
Thank you for your update. I understand your problem exactly now.
I had thought of the solution of using Vertical Scroll bar you put forward.
I also think that the disadvantages of this solution are that scrolling is
not as smooth as a panel's scroll bar and you need to add more code to
control which pictureboxes are displayed on the panel when the user clicks
on the Vertical Scroll bar.
As for the solution of using ListView, I think you could create all the
graphs/images after the user clicks on the create graphs button and
initialize the imagelist with all the images.
The advantages of this solution are that the scrolling is smooth and you
needn't add extra code to control which pictures are displayed when the
user clicks on ListView's scroll bar. However, the disadvantage of this
solution is that you have to create all the graphs/images after the user
clicks on the create graphs button, which may take more time than creating
the corresponding graph/image when a picturebox's Paint event occurs does.
So it seems both the two solutions have advantages and disadvantages. You
may select one of them according to your actual requirements.
Hope this helps.
If you have anything unclear, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
.
- References:
- Panel Height
- From: Peter
- Re: Panel Height
- From: Peter
- Re: Panel Height
- From: Linda Liu [MSFT]
- Re: Panel Height
- From: Peter
- Re: Panel Height
- From: Chris Dunaway
- Re: Panel Height
- From: Peter
- Re: Panel Height
- From: Linda Liu [MSFT]
- Re: Panel Height
- From: Peter
- Panel Height
- Prev by Date: Re: How do I find the dynamically type
- Next by Date: Re: Test for empty Dataset field
- Previous by thread: Re: Panel Height
- Next by thread: Re: Panel Height
- Index(es):