Home > Net >  Datagridview control paste control
Datagridview control paste control

Time:11-17

Datagridview cell in edit mode, user can press Ctrl + V or the right mouse button to paste operation, I want to by your own code to paste the validation, and then decide whether to paste, want to pass the Datagridview wndproc intercepted and then paste the message, but you can't intercepted, excuse me how should deal with appropriate? thank you

CodePudding user response:

Can use drag-and-drop functionality,

CodePudding user response:

reference 1/f, the wise know already should good karma response:
can use drag-and-drop functionality,


Thank you, can you describe in detail?

CodePudding user response:

Recalling done before this functionality, to copy the contents of the drag-and-drop operation is simple, do not need to verify,
Are you sure you want?
You stick to verify the shrimps?

CodePudding user response:

Cattle, can copy and paste I very satisfied,

CodePudding user response:

Datagridview edit box is a TEXTBOX control. You can search to Datagridview recursion, then in this TEXTBOX additional various TEXTBOX event to deal with. (this control is not the name of the impression, and remember the name is like a ". ").

CodePudding user response:

Rewrite the own datagridview control, rewrite the celledit events!
  • Related