BeforePaste Event
Description
Occurs after creating a new record using binary data read from the clipboard, but before the record is added to the grid.
Syntax
Public Event BeforePaste( _
ByVal Record As GridRecord, _
ByRef CancelOperation As Variant _
)
Parameters
- Record: Pointer to the new GridRecord that will contain the binary data.
- CancelOperation: Set to True to cancel the paste operation. No record will be inserted into the grid.
Remarks
The BeforePaste event allows the record (Record) to be customized before the new record is inserted into the grid.
See Also
- GridControl Control
- BeforePasteFromText Event
- BeforeCopyToText Event
- Copy Method
- Cut Method
- Paste Method
- CanCopy Property
- CanCut Property
- CanPaste Property

Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.