OK, two problems. When adding line to textarea: TextArea1.Text &= "Something" & gb.NewLine Cursor jumps to column&line zero.
Other problem is that I need propertie ReadOnly to be True, and then at least the cursor is not visible if there even is one. Jussi 2009/5/25 Benoît Minisini <gam...@users.sourceforge.net>: >> 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 > ------------------------------------------------------------------------------ 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