Copy & Paste functions in datagrid?
I'd like to create my own Copy & Paste on datagrid. There should be functions available for them. Any body knows that?
Thanks
The grid listens to the Ctrl-C message to determine that the user wants to copy the data.
It seems that the best approach would be to inherit from the grid and override DataGrid::ProcessDialogKey. In your implementation call base.ProcessDialogKey for all keys which are not Ctrl-C or Ctrl-V or Ctrl-X and for these three messages do your own processing.