BeforePasteFromText Event
Description
Occurs before a record that contains ONLY text data is inserted/pasted into the grid.
Syntax
Public Event BeforePasteFromText( _
ByVal Record As GridRecord, _
ByRef strText As String, _
ByRef CancelOperation As Variant _
)
Parameters
-
Record
Pointer to the new GridRecord that will contain the text data. -
strText
String that contains record items values delimited by tabs. -
CancelOperation
Set to True to cancel the paste operation. No record will be inserted into the grid.
Remarks
The BeforePasteFromText event allows the record (Record) and record data (strText) to be customized before the new record is inserted into the grid.
See Also
- TrackControl Control
- BeforeCopyToText Event
- BeforePaste Event
- Copy Method
- Cut Method
- Paste Method
- CanCopy Property
- CanCut Property
- CanPaste Property

Grid Control ActiveX Control v24.0
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.