PatternChange Event

Visual Basic Reference

Visual Studio 6.0

PatternChange Event

See Also    Example    Applies To

Occurs when the file listing pattern, such as "*.*", is changed by setting the FileName or Pattern property in code.


Private Sub object_PatternChange([index As Integer])

The PatternChange event syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
index An integer that uniquely identifies a control if it's in a control array.


You can use a PatternChange event procedure to respond to pattern changes in a FileListBox control. When you assign a string containing a new pattern to the FileName property, the FileListBox invokes the PathChange event.

© 2016 Microsoft