VLPropertyList Reference

MethodCategoryExpanding

See Also See Also Applies To Applies To

This event is triggered when a category node is being expanded by the user.

 

Syntax

Private Sub object_CategoryExpanding (ByVal sCategory As String, ByRef bCancel As Boolean)

 

The CategoryExpanding event syntax has these parts:

PartDescription
object An object expression that evaluates to a VLPropertyList.
sCategory A string expression identifying a category node.
bCancel A boolean expression that can be used to cancel the category expand. Setting bCancel to true will force the category node to stay collapsed.

 

Remark

This event is typically used to conditionally keep a category node collapsed.