RadEntry CursorPosition

1 Answer 120 Views
Entry
盼宇
Top achievements
Rank 1
Iron
盼宇 asked on 08 Apr 2022, 02:52 AM

When I use telerikinput: radentry, using the cursorposition attribute has no effect, but it takes effect when the cursorposition attribute is used in xamarin's native entry

<telerikInput:RadEntry x:Name="AAAAA"/>
<Entry x:Name="BBBB" />

 AAAAA.CursorPosition = 0;
BBBB.CursorPosition = 0;

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 11 Apr 2022, 10:31 AM

Hello,

Thank you for sending the snippet and the image. 

Indeed, RadEntry works a little bit different than the Xamarin.Forms Entry - it seems with the XF Entry setting CursorPosition also focuses the control, in our case you should call Focus() as well:

Device.StartTimer(TimeSpan.FromMilliseconds(1000),
    () =>
    {
        entry.Focus();
        entry.CursorPosition = 0;
        return false;
    });   

Regards,
Yana
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

盼宇
Top achievements
Rank 1
Iron
commented on 22 Apr 2022, 09:23 AM

Thank you for your help. With your help, this problem will be solved soon
Tags
Entry
Asked by
盼宇
Top achievements
Rank 1
Iron
Answers by
Yana
Telerik team
Share this question
or