Platforms to show: All Mac Windows Linux Cross-Platform

/MacFrameworks/IKPictureTaker modal


Required plugins for this example: MBS MacCF Plugin, MBS MacBase Plugin, MBS MacCG Plugin, MBS Main Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin, MBS AVFoundation Plugin

Last modified Sun, 17th Mar 2012.

You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /MacFrameworks/IKPictureTaker modal

Download this example: IKPictureTaker modal.zip

Project "IKPictureTaker modal.xojo_binary_project"
FileTypes
Filetype text
End FileTypes
Class Window1 Inherits Window
EventHandler Sub Open() dim n as integer p=new IKPictureTakerMBS if not p.Available then MsgBox "This application requires Mac OS X 10.5 and a Macho Target" Return end if p.AllowsFileChoosing=true p.AllowsEditing=true p.AllowsVideoCapture=true p.ShowEffects=FALSE // disable if you run modal! p.ShowRecentPicture=true p.UpdateRecentPicture=true p.InformationalText="Please take a picture" n=p.runModal if n=1 then // ok Backdrop=p.outputImage.CopyPictureWithMask else Title=Str(n) end if End EventHandler
Property Protected p As ikpictureTakerMBS
End Class
MenuBar MenuBar1
MenuItem UntitledMenu1 = ""
MenuItem FileMenu = "&File"
MenuItem FileQuit = "Quit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem UntitledMenu0 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "Clear"
End MenuBar
Class App Inherits Application
End Class
End Project

See also:

Download this example: IKPictureTaker modal.zip

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


The biggest plugin in space...