Cursor is moving to the starting postion

1 posts, 0 answers
  1. Tom Mieck
    Tom Mieck avatar
    11 posts
    Member since:
    Aug 2012

    Posted 07 Aug 2012 Link to this post

    I have implemented the validation in the textbox in the propertygrid
    When user types 2 digits(say 11) in the textbox, i append the text with "-"(11-), and in the same way i appned the text lenght is 8
    The problem here is 
    when user types 2 digits(say 11) in the textbox the cursor focus is moving to the start position
    but the cusror focus should remain   at "-" .
    I have implemented this validation in keyup event in the propertygrid.

    Please help me,Pls.
Back to Top