Platforms to show: All Mac Windows Linux Cross-Platform
FileListMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Files | MBS Util Plugin | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes: This class is made to get a list of files in a folder faster than by using a folderitem.
- 8 properties
- property Count as Integer
- property Folder as FolderItem
- property OK as Boolean
- property Path as String
- property TotalLogicalDataLength as Int64
- property TotalLogicalResourceLength as Int64
- property TotalPhysicalDataLength as Int64
- property TotalPhysicalResourceLength as Int64
- 3 shared properties
- shared property Cancel as Boolean
- shared property Threaded as Boolean
- shared property YieldTicks as Integer
- 45 methods
- method AttributeModificationDate(index as Integer) as Double
- method AttributeModificationDate(index as Integer, UTC as boolean) as Date
- method AttributeModificationDateTime(index as integer, UTC as boolean) as DateTime
- method BackupDate(index as Integer) as Double
- method BackupDate(index as Integer, UTC as boolean) as Date
- method BackupDateTime(index as integer, UTC as boolean) as DateTime
- method CFURL(index as integer) as Variant
- method Close
- method Constructor
- method Constructor(filelist as FileListMBS, index as Integer, WinFilter as string = "", SkipMode as Integer = 0)
- method Constructor(folder as folderitem, WinFilter as string = "", SkipMode as Integer = 0)
- method Constructor(Path as String, WinFilter as string = "", SkipMode as Integer = 0)
- method CreationDate(index as Integer) as Double
- method CreationDate(index as Integer, UTC as boolean) as Date
- method CreationDateTime(index as integer, UTC as boolean) as DateTime
- method Directory(index as Integer) as boolean
- method DisplayName(index as Integer) as string
- method FinderFlags(index as Integer) as Integer
- method IsBundle(index as Integer) as Boolean
- method IsHardLinked(index as Integer) as boolean
- method Item(index as Integer) as folderitem
- method ItemPath(index as Integer) as string
- method LastAccessDate(index as Integer) as Double
- method LastAccessDate(index as Integer, UTC as boolean) as Date
- method LastAccessDateTime(index as integer, UTC as boolean) as DateTime
- method LogicalDataLength(index as Integer) as Int64
- method LogicalResourceLength(index as Integer) as Int64
- method ModificationDate(index as Integer) as Double
- method ModificationDate(index as Integer, UTC as boolean) as Date
- method ModificationDateTime(index as integer, UTC as boolean) as DateTime
- method Name(index as Integer) as string
- method NodeID(index as Integer) as Int64
- method ParentDirectoryID(index as Integer) as Int64
- method PhysicalDataLength(index as Integer) as Int64
- method PhysicalResourceLength(index as Integer) as Int64
- method SortByCreationDate
- method SortByFileName
- method SortByModificationDate
- method TrueItem(index as Integer) as folderitem
- method Visible(index as Integer) as boolean
- method WinFileAttributes(index as Integer) as Integer
- 6 constants
Skip Modes
Constant | Value | Description |
---|---|---|
SkipFiles | 1 |
Skip files. |
SkipFolders | 2 |
Skip folders. |
SkipHidden | 12 |
Skip hidden files and folders. |
SkipHiddenFiles | 4 |
Skip hidden files. |
SkipHiddenFolders | 8 |
Skip hidden folders. |
SkipNone | 0 |
Skip no files. |
This class has no sub classes.
Some examples using this class:
- /Util/FileList/FileList
- /Util/FileList/FileList Benchmark
- /Util/FileList/FileList Listbox
- /Util/FileList/FileList Recursive
- /Util/FileList/Koingo FileList Example
Blog Entries
- MBS Xojo Plugins, version 21.2pr6
- MBS Xojo Plugins, version 20.6pr4
- MBS Xojo Plugins, version 20.1pr5
- MBS Xojo Plugins in version 19.0
- MBS Xojo Plugins, version 19.0pr8
- MBS Xojo Plugins, version 18.2pr1
- MBS Xojo / Real Studio Plugins, version 16.4pr4
- MBS Xojo / Real Studio Plugins, version 14.4pr10
- MBS REALbasic Plugins Version 10.4 release notes
- NSBundleMBS and NSDirectoryEnumeratorMBS
Xojo Developer Magazine
Videos
The items on this page are in the following plugins: MBS Util Plugin.
