Platforms to show: All Mac Windows Linux Cross-Platform
Back to DRFolderMBS class.
DRFolderMBS.addChild(child as DRFSObjectMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This method only applies to virtual folders. Real folders are considered "leaf nodes" and cannot have children.
Some examples using this method:
DRFolderMBS.children as DRFSObjectMBS()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 11.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The order of children in the array is arbitrary -- since the various filesystems being generated may have different sorting requirements, there is no one true way to sort the children. The ordering will change only when children are added or removed. You should sort the children according to the needs of your display, and in a consistent manner. This function only applies to virtual folders. Real folders are considered "leaf nodes" and should not be passed into this call.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
See also:
DRFolderMBS.Constructor(name as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
See also:
DRFolderMBS.Constructor(path as folderitem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
See also:
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This method returns a "shallow" count of only those children that are immediately contained within the virtual folder. This method only applies to virtual folders. Real folders are considered "leaf nodes" and should not be passed into this call.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The virtual folder created in this way is a snapshot of the on-disk folder at the moment of the call. The newly created virtual folder will contain real folder and file objects corresponding to the on-disk children of the original on-disk folder. If the on-disk folder is modified (eg, if the folder attributes change, or if children are added to or removed from the on-disk tree): during this call, the virtual folder may or may not reflect the changes. If modified after this call, the virtual folder will not reflect the changes.
DRFolderMBS.removeChild(child as DRFSObjectMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DiscRecording | MBS MacControls Plugin | 7.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
This method only applies to virtual folders. Real folders are considered "leaf nodes" and cannot have children.
The items on this page are in the following plugins: MBS MacControls Plugin.