Bug Report A528
Visible to All Users

CopySelectedToClipboard does not always work

created 19 years ago

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:

  1. I click the button, the selections I've made are copied to the clipboard
  2. I paste the rows into Excel
  3. 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).
  4. I click the button, the selections are NOT copied to the clipboard (the clipboard is cleared, and there's nothing to paste)
  5. 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

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.