CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: scrollPane

  1. #1
    Guest

    scrollPane

    I'm trying to get a scroll bar to always stay at the bottom of the screen. I have a window that has text constantly being put out to it. I want to be able to see the most current info. Does anyone know the setting to change to make this so?

    Mike

    [email protected]


  2. #2
    Join Date
    Jun 1999
    Posts
    5

    Re: scrollPane

    if u get solution please let me also know I am also in same problem


  3. #3
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: scrollPane

    As far as I know whenever size of the viewport in JScrollPane will change, the maximum value of vertical scroll bar will also get modified.

    Now add change listener to JViewport and in the event handle

  4. #4
    Join Date
    May 1999
    Location
    Pune, MH, India.
    Posts
    453

    Re: scrollPane

    Sorry the post got truncated.

    As far as I know whenever size of the viewport in JScrollPane will change, the maximum value of vertical scroll bar will also get
    modified.

    Now add change listener to JViewport and in the event handler u just retrieve the verticle scrollbar and set its value to maximum value.

    - UnicMan
    http://members.tripod.com/unicman

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured