Click or drag to resize

DataBrowser.Copy Method

X#
Copy the current selection in the data browser to the clipboard.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Copy() AS USUAL
Request Example View Source

Return Value

Type: Usual
Remarks
The current selection can be a few characters in a cell, an entire cell's contents, several cells, several records, or nothing at all. If several cells are selected, they are copied to the clipboard in the standard tab-separated format accepted by spreadsheet and word processor products. The operation performed by this method is the same action as is normally performed in standard GUI applications by the Edit Copy menu command (note that under Windows, this menu command is typically linked to the Ctrl+C and/or Ctrl+Insert accelerators). This standard behavior is automatically provided by X# and, therefore, there is no need to provide a special method for this (in fact, the accelerators work even if there is no menu command).
See Also