FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.PasteFromClipboard Method

This method will paste data from the clipboard into a FlexCel sheet, beginning at the specified row and column.

Pascal
procedure PasteFromClipboard(const Row: integer; const Col: integer);
C++
__fastcall PasteFromClipboard(const int Row, const int Col);
Parameters 
Description 
const Row: integer 
Row where to paste the clipboard (1-based) 
const Col: integer 
Column where to paste the clipboard (1-based) 

If the clipboard has native Excel format (you copied the info using Excel or FlexCel), the data will be pasted on native format. If not, the data will be pasted as tabbed text. For a more in depth discussion of native copy and paste, please read the "Using FlexCel API" pdf document and take a look at the "Copy and Paste" demo. 

 

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!