Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB.NET
Good morning to all..
 
i have developed window application like an editor.it contains web browser and lot of controls.so when i run the application scroll bar enabled in the form.each time when i perform edit,the scroll bar goes down.so that i can't able to view the controls in the top of the form.how to keep the scroll bar in upward direction?
 
please help me as soon as possible
Thanks in advance
Posted 26-Dec-12 18:46pm
jai_mca1.1K
Edited 26-Dec-12 18:47pm
v2
Comments
Krunal Rohit at 27-Dec-12 0:52am
   
http://msdn.microsoft.com/en-us/library/windows/desktop/bb787527(v=vs.85).aspx#standard_scroll_bars
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.
 
—SA
jai_mca at 27-Dec-12 1:06am
   
Thanks for your comment sergey.it is just a vb.net 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
good
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.
 
—SA
  Permalink  
Rate this: bad
good
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!!!
  Permalink  
Comments
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 OriginalGriff 404
1 Sergey Alexandrovich Kryukov 387
2 Shemeemsha RA 148
3 Abdul Samad KP 125
4 CPallini 100
0 OriginalGriff 6,189
1 Sergey Alexandrovich Kryukov 5,666
2 CPallini 4,810
3 George Jonsson 3,429
4 Gihan Liyanage 2,522


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