![]() Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. CurEditControl, DataGridViewTextBo圎ditingControl) Change its code "MessageBox.Show(tb.SelectedText)" to Clipboard.SetText(tb.SelectedText)ĬType ( Me. ![]() ![]() He used a way that get a reference to a textbox (look at the code snippetīelow), and then can get the selected text. Or, you may get selected text like this: Datagridview Selected Text with the reply from Reed Kimble. As far as I know, when you select some text of a dataGridView cell content, and right click, you will see "Copy" option which definitely copy the selected part to the clipboard, this is handled by operation system, non bussiness of DataGridView. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |