pbCanPaste - DfBaseRichEdit
Determines whether paste operation can be performed with current format in clipboard
Type: Property
Access: Read-Only
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbCanPaste
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbCanPaste to BooleanVariable |
Description
Determines whether the contents of the clipboard in the current format can be pasted into the control.
This property has no effect if control is not paged.
Sample
This sample checks if the contents of the clipboard in the current format can be pasted into the oRichEdit1 control. If so, it sends the Paste message to the control.
Procedure PasteIfPossible
if (pbCanPaste(oRichEdit1) = True) ;
send Paste of oRichEdit1
End_Procedure // PasteIfPossible