Unicode Controls & Classes for VB6 - Version 4

ctlUniRichTextBoxXP.ModifyProtected Event

This event is raised evetytime a user tries to modify a part of text marked as protected, with the [SelProtected] property.
You can avoid the change by returning bDoIt=False

Syntax
Public Event ModifyProtected (ByRef bDoIt As Boolean,
ByVal lMin As Long,
ByVal lMax As Long)
Parameters
Parameter Description
ByRef bDoIt As Boolean (OUT) True for enabling the operation, False otherwise
ByVal lMin As Long The start selection index
ByVal lMax As Long The end selection index
Remarks