ListBox.ListFiles Method (Typed) | |
Note: This API is now obsolete.
Fill a list box with the names of all files that match the specified path or file name.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax [ObsoleteAttribute]
VIRTUAL METHOD ListFiles(
sStartDir,
oFixedText,
FileTypes
) AS USUAL CLIPPER
[ObsoleteAttribute]
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual ListFiles(
Usual sStartDir = default,
Usual oFixedText = default,
Usual FileTypes = default
)
Request Example
View SourceParameters
- sStartDir (Optional)
- Type: Usual
The path or file name of the starting directory. - oFixedText (Optional)
- Type: Usual
Set automatically to the fixed text of the drive/directory of sStartDir.
- FileTypes (Optional)
- Type: Usual
One of the following constants indicating the attributes of the files to be displayed:
Return Value
Type:
Usual
TRUE if successful; otherwise, FALSE.
Remarks Windows API Constant | Description |
---|
DDL_ARCHIVE | Includes archived files. |
DDL_DIRECTORY | Includes subdirectories, enclosed in square brackets ([ ]). |
DDL_DRIVES | Includes drives, listed in the form [-x-] where x is the drive letter. |
DDL_EXCLUSIVE | Includes only files with the specified attributes. |
| Tip |
---|
Read-write files are included by default even if DDL_READWRITE is not specified. |
|
DDL_HIDDEN | Includes hidden files. |
DDL_READONLY | Includes read-only files. |
DDL_READWRITE | Includes read-write files with no additional attributes specified. |
DDL_SYSTEM | Includes system files. |
DDL_POSTMSGS | Posts messages to the application's message queue. |
See Also