|
|
|
SftMask.PrePaste Event |
Text is about to be pasted into the control.
Syntax
VB.NET |
Private Sub object_PrePaste(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.PrePaste |
||
VB |
Private Sub object_PrePaste(Text As String) |
||
C#.NET |
void object_PrePaste(object sender, EventArgumentType e); |
||
VC++ |
void OnPrePasteobject(_bstr_t* Text); |
||
C |
HRESULT OnPrePasteobject(BSTR* Text); |
||
Delphi |
procedure objectPrePaste(Sender: TObject; var Text : WideString); |
object
A SftMask object.
Text
The text about to be pasted into the control at the insertion point (or replacing the current selection if present).
Comments
The PrePaste event occurs when text is about to be pasted into the control.
This event is intended to make modifications to the Text about to be pasted. It cannot be used to modify control properties or invoke control methods.
To prevent the operation to continue, Text can be set to any empty string.