GRID.EnableCopyWithoutSelection |
status = GRID.EnableCopyWithoutSelection( BYVAL nControl AS INTEGER, BYVAL bEnable AS INTEGER ) AS INTEGER
Enables you to copy the contents of the entire Grid to the clipboard if there no cells have been selected otherwise the selection is copied. This is useful if you have a read-only without selection grid and you want to be able to copy the contents including header information to the clipboard.
Example:
nControl = GRID.Create( "My Grid", WS_VISIBLE+WS_CAPTION, -640, 0, 0, 480 ) GRID.EnableCopyWithoutSelection( nControl, TRUE )
|