|
Copy the grid data.
Syntax 1
Copy (
areaType
)
Copies the data in the cells of the specified area.
Parameters
areaType
|
|
Type:
|
character
|
|
"all" - All cells.
"select" - The currently selected range of cells.
"cursor" - The cell where the cursor is currently located. If only one cell is selected, this is the same as "select".
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Syntax 2
Copy (
"cell",
displayCol,
displayRow
)
Copies the data in the specified cell.
Parameters
areaType
|
|
Type:
|
character
|
|
"cell"
|
displayCol
|
|
Type:
|
Number
|
|
ColumnDisplay index (column number starting from 0).
|
displayRow
|
|
Type:
|
Number
|
|
Display index of the row (row number starting from 0).
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Syntax 3
Copy (
"row",
displayRow
)
Copies the data in the specified row.
Parameters
areaType
|
|
Type:
|
character
|
|
"row"
|
displayRow
|
|
Type:
|
Number
|
|
Display index of the row (row number starting from 0).
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Syntax 4
Copy (
"col",
displayCol
)
Copies the data in the specified column.
Parameters
areaType
|
|
Type:
|
character
|
|
"col"
|
displayCol
|
|
Type:
|
Number
|
|
ColumnDisplay index (column number starting from 0).
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Syntax 5
Copy (
"range",
displayCol1,
displayRow1,
displayCol2,
displayRow2
)
Copies data from a specified range of cells.
Parameters
areaType
|
|
Type:
|
character
|
|
"range"
|
displayCol1
|
|
Type:
|
character
|
|
Display index of column 1 (column number starting from 0).
|
displayRow1
|
|
Type:
|
Number
|
|
Display index of row 1 (row number starting from 0).
|
displayCol2
|
|
Type:
|
Number
|
|
Display index of column 2 (column number starting from 0).
|
displayRow2
|
|
Type:
|
Number
|
|
Display index of row 2 (row number starting from 0).
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Copies the cell data. The copied data can be pasted (Paste) to the specified position. It can also be pasted into Excel etc. Each of these is linked to the following keys.
Key operations
|
Corresponding Method
|
effect
|
Ctrl + C
|
Copy("select")
|
Copy the selected range.
|
|
reference
Copy
Paste
Cut
Print
LoadCsvFile
SaveCsvFile
|