PasteFromClipboard: Difference between revisions

From Planimate Knowledge Base
Jump to navigation Jump to search
(Created page with "Function that provides the ability for the content of the Windows (Clipboard) to be pasted into a nominated within planimate. Function requires Target Table - table to paste th...")
 
No edit summary
 
Line 10: Line 10:
A '''1''' will prompt the user with the standard planimate dialog for paste allowing the user to select how the data will be pasted into the table (include column and row headers, append rows etc).
A '''1''' will prompt the user with the standard planimate dialog for paste allowing the user to select how the data will be pasted into the table (include column and row headers, append rows etc).


[[File:C:\Users\Jay\Desktop\clip.png]]
A '''0''' will not offer the user dialog.  The settings previously used/set by the modeller will be used.


A '''0''' will not offer the user dialog. The settings previously used/set by the modeller will be used.
http://wiki.planimate.com/Import_from_Clipboard_or_File_to_Table


The function will return the following once processed. Anything result other than zero should be considered a 'failed function call'.
The function will return the following once processed. Anything result other than zero should be considered a 'failed function call'.

Latest revision as of 14:55, 12 September 2014

Function that provides the ability for the content of the Windows (Clipboard) to be pasted into a nominated within planimate.

Function requires

Target Table - table to paste the data into Configure - paste options.

Configure should be a 1 or 0.

A 1 will prompt the user with the standard planimate dialog for paste allowing the user to select how the data will be pasted into the table (include column and row headers, append rows etc).

A 0 will not offer the user dialog. The settings previously used/set by the modeller will be used.

http://wiki.planimate.com/Import_from_Clipboard_or_File_to_Table

The function will return the following once processed. Anything result other than zero should be considered a 'failed function call'.

RCB_OK = 0, RCB_MEMORY = 1, RCB_FILEOPEN = 2, RCB_DISK = 3, RCB_NODATA = 4 RCB_DATAERROR = 5, RCB_CANCELLED = 6