Does not work mouse selection...

11 posts, 0 answers
  1. Jaehong
    Jaehong avatar
    10 posts
    Member since:
    Aug 2010

    Posted 11 Oct 2010 Link to this post

    I can not select text or move cursor in RadTextBox by mouse.
    I don't know why it dose not work mouse controlling.
  2. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 11 Oct 2010 Link to this post

    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
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 13 Oct 2010 Link to this post

    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
  5. Chiu Yian Lim
    Chiu Yian Lim avatar
    3 posts
    Member since:
    Mar 2010

    Posted 20 Oct 2010 Link to this post

    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
  6. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 20 Oct 2010 Link to this post

    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
  7. Chiu Yian Lim
    Chiu Yian Lim avatar
    3 posts
    Member since:
    Mar 2010

    Posted 20 Oct 2010 Link to this post

    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...
  8. Richard Slade
    Richard Slade avatar
    3000 posts
    Member since:
    May 2009

    Posted 20 Oct 2010 Link to this post

    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
  9. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 25 Oct 2010 Link to this post

    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
  10. Jaehong
    Jaehong avatar
    10 posts
    Member since:
    Aug 2010

    Posted 25 Oct 2010 Link to this post

    Hi, everyone.
    I'm sorry for replying lately.
    It works well, but I don't know how it be fixed.
    Thanks for all reply.
  11. Chiu Yian Lim
    Chiu Yian Lim avatar
    3 posts
    Member since:
    Mar 2010

    Posted 26 Oct 2010 Link to this post

    Hi,

    I have create a ticket
    http://www.telerik.com/account/support-tickets/view-ticket.aspx?threadid=360408
    Hope someone can help.
    Thanks
  12. Stefan
    Admin
    Stefan avatar
    2890 posts

    Posted 27 Oct 2010 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready