This is a migrated thread and some comments may be shown as answers.

Does not work mouse selection...

10 Answers 376 Views
TextBox
This is a migrated thread and some comments may be shown as answers.
Jaehong
Top achievements
Rank 1
Jaehong asked on 11 Oct 2010, 05:59 AM
I can not select text or move cursor in RadTextBox by mouse.
I don't know why it dose not work mouse controlling.

10 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 11 Oct 2010, 10:24 AM
hello Jaehong, 

The only property that affects this is the Enabled property. If the enabled property is set to false, or if its one of the parent controls is not enabled then it would also not be enabled. 
If this isn't what you mean, then do let me know. 
Regards, 
Richard
0
Nikolay
Telerik team
answered on 13 Oct 2010, 08:04 AM
Hi Jaehong,

This is not a known issue and actually you are the first who experience it. Generally, we are internally using the standard TextBox in our RadTextBox, so the reason for the described behavior should be at a system level, but not at the RadControls level. I would suggest that you try the same scenario with the standard TextBox. You can also check the behavior on an other machine. Unfortunately, I am not able to think of a possible reason for the experienced behavior, except for the one given by Richard.

All the best,
Nikolay
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Chiu Yian Lim
Top achievements
Rank 1
answered on 20 Oct 2010, 02:51 PM
im having problem when i point my cursor on the textbox...
it doesnt takes my cursor position on my mouse click
please help and advise
0
Richard Slade
Top achievements
Rank 2
answered on 20 Oct 2010, 02:57 PM
Hi Chiu Yian Lim, 

The above describes the only situation we can think of why a RadTextBox. If this is not the issue, please can you describe the issue in more detail and provide a screenshot of the problem. 

Many thanks
Richard
0
Chiu Yian Lim
Top achievements
Rank 1
answered on 20 Oct 2010, 03:12 PM
Hi Richard,

Thanks for your reply.
Attached with the screenshot.
I would like to place my cursor at the position after the 't' as in Figure 2 on my mouse click. However, the cursor will not point to the position which my mouse cursor pointing at. Cursor was being set at the end of the line as in Figure 1.
Please help.

Thanks...
0
Richard Slade
Top achievements
Rank 2
answered on 20 Oct 2010, 04:21 PM
Hi, 

With a single textbox on a form with no events I cannot replicate your issue. Are you sure you don't have any events that could change the SelectionStart property or similar? 

Thanks
Richard
0
Stefan
Telerik team
answered on 25 Oct 2010, 04:52 PM
Hi Chiu Yian Lim, 

Thank you for writing back.

I have tried the described behavior, but I could not replicate the issue that you have. Therefore, I would like to kindly ask you to open a support ticket and send me a sample project there. This will allow me to understand and reproduce the described behavior and to investigate the case further.

I am looking forward to your sample project.

Greetings,
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jaehong
Top achievements
Rank 1
answered on 26 Oct 2010, 01:44 AM
Hi, everyone.
I'm sorry for replying lately.
It works well, but I don't know how it be fixed.
Thanks for all reply.
0
Chiu Yian Lim
Top achievements
Rank 1
answered on 26 Oct 2010, 03:41 PM
Hi,

I have create a ticket
http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=360408
Hope someone can help.
Thanks
0
Stefan
Telerik team
answered on 27 Oct 2010, 04:25 PM
Hello Chiu Yian Lim,

The observed behavior is not caused by our controls. You are getting the experienced behavior, because  you are adding a form (frmUser) in another form (frmMain). This causes some of the mouse messages to be processed by frmMain and others by frmUser. This is why RadTextBox (and also Microsoft TextBox) seems as if it is not working properly.

A solution for this case is to create a UserControl instead of a Form and add it to the main form. This way the text box controls will work properly.
 
Sincerely yours,
Stefan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
TextBox
Asked by
Jaehong
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Nikolay
Telerik team
Chiu Yian Lim
Top achievements
Rank 1
Stefan
Telerik team
Jaehong
Top achievements
Rank 1
Share this question
or