Re: Scrollbar misbehaving w/ ROText ?
Dean Arnold <[email protected]>
| Newsgroups | gmane.comp.lang.perl.tk |
|---|---|
| Message-ID | <[email protected]> |
Bill Mezian wrote: > Dean, > > I just finished an application using Scrolled ROText as a message window > that is updated as each step of the application is processed, and to display > help files, etc., also on XP. I have noticed that the ROText window doesn't > particularly want to allow scrolling up while the window is still filling, > but I haven't noticed the behavior you're referring to. > > The differences I did notice are I am using word rather than character wrap, > so you might try that change and see if it helps. Also, I am scrolling the > window and updating it after inserting each line, except in the instance of > displaying a help file, which eliminates the need to manually scroll down. > > All the best, > > Bill Tried word wrap, same bad behavior. However, I think I have a clue to the issue. Using the example I sent previously, I'm noticing that if I click in the scrollbar trough just below the slider, the slider won't move until I move the mouse, which is the behavior I'd expect if the mouse was *on* the slider; if I move the mouse down a bit further below the slider in the trough and click, it will move down as expected. And when I click directly on the slider, without moving the mouse, the slider moves up. All of which leads me to believe the scrollbar is losing track of the slider size/position (probably a side effect of the slider resizing ?) Another possibly incorrect behavior: when I click and hold in the trough below the slider, the slider keeps moving down, even past the mouse cursor, until it hits the bottom of the window. (Likewise going in the other direction). Not certain if thats the expected behavior (the pod isn't too clear, except to say holding hte button autorepeats the action), but most scrollbars I've seen usually stop the slider/scrolling when the slider collides with the mouse cursor. - Dean -++**==--++**==--++**==--++**==--++**==--++**==--++**== This message was posted through the Stanford campus mailing list server. If you wish to unsubscribe from this mailing list, send the message body of "unsubscribe ptk" to [email protected]