Platforms to show: All Mac Windows Linux Cross-Platform

Back to CopyFileMBS class.

CopyFileMBS.BytesCopied as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the number of data bytes copied so far.

Valid only in Progress event.
If a kFlagsClone or kFlagsCloneForce operation successfully cloned the requested objects, then this value will be 0.
(Read only property)

Some examples using this property:

CopyFileMBS.WasCloned as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Whether file was cloned.

Valid only in Progress event.
True if a kFlagsClone or kFlagsCloneForce operation successfully cloned the requested objects.
(Read only property)

CopyFileMBS.XAttrName as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
Get the name of the extended attribute.

Valid only in Progress event.
(Read only property)

CopyFileMBS.YieldTicks as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS MacOSX Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
How much time is given back to Xojo for other ticks.
Example
dim t as new CopyFileMBS
t.YieldTicks=6 // only use 1/10th of a second

If value is greater than zero, the application will yield to another RB thread after the given number of ticks have passed. 60 ticks are one second. Using a small value can slow down processing a lot while a big value keeps your application not responding to mouse clicks.
If you use this property with e.g. 6 as the value, you may also want to use this method in a thread so you can handle mouse events or let Xojo redraw a progressbar.
(Read and Write property)

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...