VLPropertyList Reference

MethodCategoryCollapsing

See Also See Also Applies To Applies To

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

 

Syntax

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

 

The CategoryCollapsing 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 collapsing. Setting bCancel to true will force the category node to stay expanded.

 

Remark

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