Xojo Conferences
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

/MacFrameworks/IKPictureTaker modal
Function:
Required plugins for this example: MBS AVFoundation Plugin, MBS MacBase Plugin, MBS MacCG Plugin, MBS MacCocoa Plugin, MBS MacControls Plugin, MBS Main Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacFrameworks/IKPictureTaker modal
This example is the version from Sun, 17th Mar 2012.
Project "IKPictureTaker modal.rbp"
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:

Feedback, Comments & Corrections

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




Links
MBS Xojo PDF Plugins