Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

PrePaste Event, SftMask Object

Text is about to be pasted into the control.

Syntax

VB.NETPrivate Sub object_PrePaste(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.PrePaste
VBPrivate Sub object_PrePaste(Text As String)
C#.NETvoid object_PrePaste(object sender, EventArgumentType e);
VC++void OnPrePasteobject(_bstr_t* Text);
CHRESULT OnPrePasteobject(BSTR* Text);

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.

See Also SftMask Events | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.