Re: [Gambas-user] last line of editor

2008-12-18 Thread Benoit Minisini
On jeudi 18 décembre 2008, Demosthenes Koptsis wrote: > Actually this was my thought, to put this statement in SUB Editor_Change() > > but it doesnot work, that's why i ask you...what am i doing wrong? > > my code is > > PBLIC SUB edtSQL_Change() > > edtSQL.Goto(edtSQL.Lines.Count, 0) > > END > Mo

Re: [Gambas-user] last line of editor

2008-12-18 Thread Demosthenes Koptsis
Actually this was my thought, to put this statement in SUB Editor_Change() but it doesnot work, that's why i ask you...what am i doing wrong? my code is PBLIC SUB edtSQL_Change() edtSQL.Goto(edtSQL.Lines.Count, 0) END but when i change editors text with edtSQL.text="somethiing" does not go to

Re: [Gambas-user] last line of editor

2008-12-17 Thread Benoit Minisini
On mardi 16 décembre 2008, Demosthenes Koptsis wrote: > Hi to all, > > i have a text area and i want when i feed text to it to go to the last > line of it, so i wrote the next code that works fine > > PUBLIC SUB txaSQL_Change() > > txaSQL.Pos = Len(txaSQL.Text) > > END > > how can i have the same

[Gambas-user] last line of editor

2008-12-16 Thread Demosthenes Koptsis
Hi to all, i have a text area and i want when i feed text to it to go to the last line of it, so i wrote the next code that works fine PUBLIC SUB txaSQL_Change() txaSQL.Pos = Len(txaSQL.Text) END how can i have the same result with an editor control? -- Γεια χαρα σε όλους!!! Regards, De