Abnormal Behaviour of Vertical ScrollBar

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2007
Posts: 1
Reputation: pratoa is an unknown quantity at this point 
Solved Threads: 0
pratoa pratoa is offline Offline
Newbie Poster

Re: Abnormal Behaviour of Vertical ScrollBar

 
0
  #11
Jun 28th, 2007
Originally Posted by Polama View Post
Hello. I too ran into this problem. It occurs when a control obtains focus. It calls ScrollControlIntoView on its parent which moves the autoscroll position so the entire control can be shown. Since my issue was occuring in a panel, I just created a new class NoAutoScrollPanel, and inherited from Panel. I then added the following code:

  1. protected override Point ScrollToControl(System.Windows.Forms.Control activeControl)
  2. {
  3. return this.AutoScrollPosition;
  4. }

ScrollToControl gives the position ScrollControlIntoView shoulds scroll to. This overriden version returns the current position. Now when you click a control the window won't scroll and no text will get selected.
Exactly the same thing happens to me. But I do not find a way to correct in VB Net.. Any help would be appreciated
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 4
Reputation: rodrod is an unknown quantity at this point 
Solved Threads: 1
rodrod rodrod is offline Offline
Newbie Poster

Re: Abnormal Behaviour of Vertical ScrollBar

 
0
  #12
Jul 19th, 2007
Hello guyz....Can please any junior/senior poster guide me through the code of decrementing a counter on each keypress event?
Im doing this for my SMS application (originally set to 160 characters remaining).
Thanks. (assaf.rawad@gmail.com)
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 1
Reputation: koolkeran is an unknown quantity at this point 
Solved Threads: 0
koolkeran koolkeran is offline Offline
Newbie Poster

Re: Abnormal Behaviour of Vertical ScrollBar

 
0
  #13
Sep 6th, 2008
Hey,
Any dumb can understand that this is not hardware issue.
Check these links below:
http://www.ca.com/securityadvisor/pe....aspx?id=46367
http://www.ca.com/securityadvisor/pe....aspx?id=46369
http://www.ca.com/securityadvisor/pe...x?id=453076592
http://www.ca.com/securityadvisor/pe...t.aspx?id=2420

I had the exact problem on my three machines, XP, 2003 & Vista ultimate and all I did was scan my machine with the trusty Etrust and it worked like a charm.
I no longer have the irritating problem with abnormal or automatic scroll.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC