Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

DRBurnProgressPanelMBS class

Super class: NSPanelMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class DiscRecording MBS MacControls Plugin 7.4 Yes No No Yes, macOS only No
Function: Run and display progress while burning data to media.
Example:
dim track as DRTrackMBS
dim bsp as DRBurnSetupPanelMBS
dim bpp as DRBurnProgressPanelMBS

// we need a track
track=CreateTrack

if track<>nil then
bsp=new DRBurnSetupPanelMBS

// set a few options
bsp.setCanSelectAppendableMedia true
bsp.setCanSelectTestBurn true

if bsp.runSetupPanel=bsp.NSOKButton then
bpp=new DRBurnProgressPanelMBS

// And start off the burn itself. This will put up the progress dialog
// and do all the nice pretty things that a happy app does.
bpp.beginProgressPanelForBurn bsp.burnObject, track

else
MsgBox "You pressed cancel."
end if
end if
Notes:
All methods in this class will catch exceptions from Cocoa and raise a NSExceptionMBS instead. Using the message, name and reason properties you can see what was the reason for this exception. Please report if you find a method which does not handle exceptions correct.
Subclass of the NSPanelMBS class.

Feedback, Comments & Corrections

Super class NSPanelMBS

Super class NSWindowMBS

Super class NSResponderMBS

This class has no sub classes.

Some examples which use this class:


The items on this page are in the following plugins: MBS MacBase Plugin, MBS MacControls Plugin.


DRBurnMBS   -   DRBurnSetupPanelMBS




Links
MBS Xojo PDF Plugins