The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
The default seems to be to have the insertion point appear at the end of the text - how does one programmatically put it at the beginning of the text? Thanks!
ADAdministrator Syncfusion Team April 23, 2003 10:01 PM
Hi Ivan,
Could you please give more details on the edit behavior you want to achieve? Do you mean whenever you paste some text, caret should appear at the beginning of the pasted text? Thanks.
Syncfusion Technical Support
> The default seems to be to have the insertion point appear at the end of the text - how does one programmatically put it at the beginning of the text? Thanks!
IPIvan PellyApril 24, 2003 06:58 AM
I have the editcontrol on a form, and in the form_Load I set the .text property of the control to some value. When the form appears, the insertion point is at the end of the text, and the textbox is scrolled to the end - I'd like it to be at the beginning - can that work? Thanks!
ADAdministrator Syncfusion Team April 25, 2003 12:09 AM
Hi Ivan,
Please try the following lines of code when you set the text of the control, e.g.,
editControl1.Text = "Some text";
editControl1.CurrentLine = 1;
editControl1.CurrentChar = 1;
editControl1.ScrollToViewCaret();
Thanks for choosing Syncfusion.
Syncfusion Technical Support
> I have the editcontrol on a form, and in the form_Load I set the .text property of the control to some value. When the form appears, the insertion point is at the end of the text, and the textbox is scrolled to the end - I'd like it to be at the beginning - can that work? Thanks!