BeforeLet

The BeforeLet event is triggered whenever you want a class variable to set a new value.

 

Syntax scalar variables

Function BeforeLet(Value, Cancel) As Void

Syntax list variables

Function AfterLet(Index, Value, Cancel) As Void

Parameter

Name

Type

Passing

Description

Index

Long

ByVal

Index of the changed value of the list

Value

Type-specific

ByRef

Value, to be set

Cancel

Boolean

ByRef

Reject the action by setting the value to true