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 folder name has to match in order to be added to the control.
Get
VB.NET | String = object.MatchFolder As String |
VB | String = object.MatchFolder As String |
C#.NET | string String = object.MatchFolder; |
VC++ | _bstr_t String = object->MatchFolder; _bstr_t String = object->GetMatchFolder(); |
C | HRESULT object->get_MatchFolder(BSTR* String); |
Put
VB.NET | object.MatchFolder = String As String |
VB | object.MatchFolder = String As String |
C#.NET | string object.MatchFolder = String; |
VC++ | _bstr_t object->MatchFolder = String; void object->PutMatchFolder(_bstr_t String); |
C | HRESULT object->put_MatchFolder(BSTR String); |
object
String
Defines the wildcard pattern a folder name has to match in order to be added to the control. Set to an empty string to clear.
The MatchFolder property defines the wildcard pattern a folder name has to match in order to be added to the control.
Folders that are part of the file system (SftDirectoryFolder.IsFolder is True) must match the wildcard pattern defined using the MatchFolder or MatchFolderRegexp properties to be displayed by the SftDirectory control. Files, links, etc. are not tested against the defined pattern. Files that are part of the file system must match the wildcard pattern defined using the MatchFile or MatchFileRegexp properties.
The MatchFolderRegexp property is identical to the MatchFolder property, but supports Perl regular expressions instead of a wildcard pattern. If the MatchFolder property defines a pattern, the MatchFolderRegexp property is ignored.
If the MatchFolder and MatchFolderRegexp properties are empty (empty string), all folders are displayed by the SftDirectory control.
The MatchFolder 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 folders
*.archive matches all folders with the extension "archive".
A?0* matches all folders with the letter A in the first position and the number 0 in the third position.
See Also SftDirectory Object | Object Hierarchy