Click here to Skip to main content
12,898,663 members (63,497 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET
Good morning to all..

i have developed window application like an contains web browser and lot of when i run the application scroll bar enabled in the form.each time when i perform edit,the scroll bar goes that i can't able to view the controls in the top of the to keep the scroll bar in upward direction?

please help me as soon as possible
Thanks in advance
Posted 26-Dec-12 18:46pm
Updated 26-Dec-12 18:47pm
Krunal Rohit 27-Dec-12 0:52am
First of all, it's not clear what do you mean by "windows application". It could be WPF, Forms, Metro, something else. You need to tag it. A code sample could help.

The question does not look correct. If you have a scroll and it works, it shows you what you edit, which is quite reasonable. You cannot demand showing all areas at the same time. But of course you can control scroll position, it's just does not look right.

jai_mca 27-Dec-12 1:06am
Thanks for your comment is just a windows form.i want to know which property used to keep the vertical scroll bar to be moved manually(ie.,it could not be moved automatically when i do any operation)
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please see my comment to the question. It's not clear and detailed enough to give a final advice but…

Most likely, you will need to have a fixed part on the top and scrollable part on the bottom. Those parts could be some panels, but it also depends on the UI library you use.

I hope this simple hint will be enough for you to resolve it.

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Drop a PANEL control ABOVE your EDITOR with the scrolling issue and Then you should be fine....

What ever controls you have in the TOP of your EDITOR....
Place them in the PANEL instead!

And then when your editor scrolls the panel will stay where it is!!!
jai_mca 2-Jan-13 0:41am
thanks Zaf Khan

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 28 Dec 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100