> Hi! > I must wake up this forgotten issue... > This is still valid problem and I got more information about it. > > This line of code: > TextArea1.EnsureVisible() > In GTK+, makes textarea to scroll down, but in Qt it in fact do > opposite, scroll up! > So if you haven't touch to scroll bar, it looks like it doesn't do > anything. > > I think EnsureVisible should ensure that last message is visible not first. > > > Jussi >
According to the Qt/GTK+ documentation, EnsureVisible() should ensure that the cursor is visible, not especially the last line. Can you check the position of the cursor before calling EnsureVisible() ? -- Benoît ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://www.creativitycat.com _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user