Force textarea to scroll ?
Posted
#1
(In Topic #1283)
Regular

I use .pos, .select .setfocus but sometimes texts is selected but out of the viewport
Posted
Guru

Code (gambas)
- TextArea1.Pos = iPosition ' set cursor position
- TextArea1.EnsureVisible ' to ensure cursor position is visible
Posted
Regular

NiceBruceSteers said
There isn't a default way to scroll but there is a way to ensure cursor position is visible…Code (gambas)
TextArea1.Pos = iPosition ' set cursor position TextArea1.EnsureVisible ' to ensure cursor position is visible
1 guest and 0 members have just viewed this.


