SetGridCopyTimeout method
SetGridCopyTimeout(iTimeout)
SetGridCopyTimeout
KClient has a feature whereby Ctrl->right click on the first heading cell of a grid will copy the grid to the clipboard. If the grid has DataPending set RowRequest will be sent until the grid is completely filled and DataPending is no longer set.
Some applications fill the grid asynchronously by setting DataPending in the Idle event. If this is the case the SetGridCopyTimeout method can be used to make the grid copy popup window wait for more rows to become available. The timeout value is in milliseconds.
// REM Set tinmeout to two seconds Forms.SetGridCopyTimeout(2000)