When I use the following statement: dxDBGrid1.M.CopySelectedToClipboard (in a command button click event) it works the first time but after that I have to click the button twice if I want to select and copy a different set of records.
So the basic scenerio is this:
- I click the button, the selections I've made are copied to the clipboard
- I paste the rows into Excel
- I go back to my XpressQuantumGrid program and select some other records (either one record, a set of records in sequence, or a few records than are not in sequence).
- I click the button, the selections are NOT copied to the clipboard (the clipboard is cleared, and there's nothing to paste)
- I click the button the second time. This time the records are copied to the clipboard. and I can paste them.
All the options seem to be correct:
egoRowSelect
egoExtMultiSelect
egoMultiSelect