SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the regular expression a file name has to match in order to be added to the control.
Get
VB.NET | RegExp = object.MatchFileRegexp As String |
VB | RegExp = object.MatchFileRegexp As String |
C#.NET | string RegExp = object.MatchFileRegexp; |
VC++ | _bstr_t RegExp = object->MatchFileRegexp; _bstr_t RegExp = object->GetMatchFileRegexp(); |
C | HRESULT object->get_MatchFileRegexp(BSTR* RegExp); |
Put
VB.NET | object.MatchFileRegexp = RegExp As String |
VB | object.MatchFileRegexp = RegExp As String |
C#.NET | string object.MatchFileRegexp = RegExp; |
VC++ | _bstr_t object->MatchFileRegexp = RegExp; void object->PutMatchFileRegexp(_bstr_t RegExp); |
C | HRESULT object->put_MatchFileRegexp(BSTR RegExp); |
object
RegExp
Defines the regular expression a file name has to match in order to be added to the control. Set to an empty string to clear.
The MatchFileRegexp property defines the regular expression a file name has to match in order to be added to the control.
The regular expressions supported by MatchFileRegexp and MatchFolderRegexp are Perl compatible. For detailed information about Perl regular expressions, visit http://perldoc.perl.org/perlre.html.
Files that are part of the file system (SftDirectoryFolder.IsFile is True) must match the regular expression defined using the MatchFileRegexp or MatchFile properties to be displayed by the SftDirectory control. Folders, links, etc. are not tested against the defined pattern. Folders that are part of the file system must match the pattern defined using the MatchFolder or MatchFolderRegexp properties.
The MatchFile property is identical to the MatchFileRegExp property, but supports a wildcard pattern instead of Perl regular expressions. If the MatchFile property defines a pattern, the MatchFileRegexp property is ignored.
If the MatchFile and MatchFileRegexp properties are empty (empty string), all files are displayed by the SftDirectory control.
See Also SftDirectory Object | Object Hierarchy