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 wildcard pattern a file name has to match in order to be added to the control.
Get
VB.NET | String = object.MatchFile As String |
VB | String = object.MatchFile As String |
C#.NET | string String = object.MatchFile; |
VC++ | _bstr_t String = object->MatchFile; _bstr_t String = object->GetMatchFile(); |
C | HRESULT object->get_MatchFile(BSTR* String); |
Put
VB.NET | object.MatchFile = String As String |
VB | object.MatchFile = String As String |
C#.NET | string object.MatchFile = String; |
VC++ | _bstr_t object->MatchFile = String; void object->PutMatchFile(_bstr_t String); |
C | HRESULT object->put_MatchFile(BSTR String); |
object
String
Defines the wildcard pattern a file name has to match in order to be added to the control. Set to an empty string to clear.
The MatchFile property defines the wildcard pattern a file name has to match in order to be added to the control.
Files that are part of the file system (SftDirectoryFolder.IsFile is True) must match the wildcard pattern defined using the MatchFile or MatchFileRegexp 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 wildcard pattern defined using the MatchFolder or MatchFolderRegexp properties.
The MatchFileRegexp property is identical to the MatchFile property, but supports Perl regular expressions instead of a wildcard pattern. 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.
The MatchFile property accepts simple DOS-style wildcard patterns, where '?' matches any one character, '*' matches any number of characters, any other characters in the pattern must match the filename exactly.
Examples:
*.* matches all files
*.exe matches all files with the extension "exe".
A?0?.* matches all files with the letter A in the first position and the number 0 in the third position.
See Also SftDirectory Object | Object Hierarchy