The program has several textboxes. When trying to copy data from one box and paste it into another, the program still inserts data from the clipboard into the box from which it copied and ignored the active box into which it was inserted. How to fix the problem?

I add that the problem occurs if you use hot keys. Through the right mouse button, everything works. The "ShortcutsEnabled" function is also active for everyone.

  • could not reproduce. When you go to the new textbox that tabom, that mouse, everything works correctly. Check the event handlers and the capture of the focus, most likely you have the box in which you are going to insert all the same is not active. - rdorn

1 answer 1

Check the correctness of the TextBox instructions (if you programmatically copy and paste), if this is done manually, by means of CTRL + C CTRL + V there is a possibility that the program focuses on the same TextBox. In this case, check the TextBox properties.