PropertyValidate

Fired before a value is stored in the property node when user makes a change to the value. Used to validate an entry.

Syntax

object_PropertyValidate((property As IPropNode, newValue As Variant, Cancel As Boolean))

The PropertyValidate event syntax has the following parts:

Part Description
object An expression evaluating to an object of type PropList.
property PropNode - a reference to the current property.
newValue Variant - new property value.
Cancel Boolean - by ref parameter, allows you to cancel the change.