Setting the cursor postion in TextArea
Posted
#1
(In Topic #332)
Regular

Posted
Regular

Example:
Code (gambas)
That will set the line back to the beginning of the text.
Posted
Expert

I had a play around with this as I was curious to see what it could do and found that
Code (gambas)
I tried this; sort of expecting that the cursor would go to Pos 0 on the 2nd line :
Code (gambas)
- TextArea1.Text = "alkdfashdfasufdyasiudfhaskdjfhaskjdlfha" & Gb.CrLf & "ALKJDHFLKAJSHDFKJASHDFKAJLSHDFAJKSDHF"
As per the Gambas wiki - it may have something to do with the UTF-8 warning on byte counts ect.
Cheers - Quin.
I code therefore I am
I code therefore I am
Posted
Regular

1 guest and 0 members have just viewed this.


