The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Class: TNTabEd
Declaration: function GetClipMatrixSize (var NCols, NRows: integer): boolean;

The function GetClipMatrixSize retrieves the size of the matrix which is contained in the clipboard as formatted text. This routine can be used to determine the number of columns and rows (NCols and NRows) which would be imported from the text in the clipboard when calling the method PopupMenuClickExtClip.

The function returns a TRUE value if at least one numeric value can be retrieved from the clipboard. Please note that the variable parameters NCols and NRows are undetermined and invalid if the function returns a FALSE value.

Hint: The number of rows returned in the parameter NRows reflects the number of text lines in the clipboard (including any empty lines at the end of the clipboard text).

Last Update: 2012-Oct-20