|
Edit control problem,
I want to make the Edit control like AutoCAD's command input line
For example: Command: Enter the center point =
As soon as I setFocus Edit, the input cursor will automatically jump to "Command: input dot =", it cannot be the first character of Edit
And, after jumping to “Command: Enter Dot =”, the cursor cannot be “returned” (that is, pressing the BackSpace key, you can only return to "=". You cannot return "Command: Enter Dot =" ),
You can't use "Left Arrow" to move "=" before, you can only move after "="
Please master how to implement this method, any ideas for my reference, thank you very much.
1. How to position the input cursor yourself
2. When the cursor moves to a given position, you cannot use "BackSpace" and "Left Arrow" to continue moving to the given position
Please master |
|