Tuesday, May 22nd 2012, 1:59am UTC+2

You are not logged in.

  • Login
  • Register

Hexi

Beginner

1

Saturday, January 28th 2012, 7:08pm

Textbox.SelStart property

Hello, I am new to Jabaco. I have several years experience with Visual Basic, and a little bit of java experience, so i thought i would give jabaco a try. So far I am impressed at how much of it translate directly from vb. However I am having troubles with making my multi-line text box auto scroll upon text change. In VB this code works just fine for me, but in jabaco is fails to work. Any ideas?

Source code

1
2
3
4
5
6
Public Sub Text1_Change()
   If Len(Text1.Text)>4500 Then
   Text1.Text = Right(Text1.Text,4500)
   End If
   Text1.SelStart = Len(Text1.Text)
End Sub

Rate this thread
WoltLab Burning Board