You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Hexi

Beginner

  • "Hexi" started this thread

Posts: 1

Date of registration: Jan 28th 2012

  • Send private message

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