Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: 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 19:46pm
Edited 26-Dec-12 19:47pm
Krunal Rohit at 27-Dec-12 0:52am
Sergey Alexandrovich Kryukov at 27-Dec-12 0:53am
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 at 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 at 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
0 Sascha Lefévre 325
1 Sergey Alexandrovich Kryukov 205
2 Maciej Los 200
3 Abhinav S 184
4 Richard Deeming 105
0 Sergey Alexandrovich Kryukov 6,773
1 OriginalGriff 6,311
2 Maciej Los 2,692
3 Peter Leow 2,654
4 Abhinav S 2,562

Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 28 Dec 2012
Copyright © CodeProject, 1999-2015
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