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
Adds an object reference (either a file or folder) as a child of a virtual folder object.

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
Returns an array containing the children of a virtual folder.

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.

DRFolderMBS.Constructor

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DiscRecording MBS MacControls Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
The dummy constructor.

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
Creates a "virtual" folder object with a name.

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
Initializes a DRFolder object that will use the folder contents of the folder located at path as a source.

See also:

DRFolderMBS.count as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DiscRecording MBS MacControls Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns the number of children of a virtual folder.

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.

DRFolderMBS.makeVirtual

Type Topic Plugin Version macOS Windows Linux iOS Targets
method DiscRecording MBS MacControls Plugin 7.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Changes the real DRFolder object into a "virtual" DRFolder object.

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
Removes an object reference (either a file or folder) as a child of a virtual folder object.

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.


The biggest plugin in space...