Platforms to show: All Mac Windows Linux Cross-Platform

/AVFoundation/IKImage/IKImageView Test


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 Fri, 20th Jan 2022.

You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /AVFoundation/IKImage/IKImageView Test

Download this example: IKImageView Test.zip

Project "IKImageView Test.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class MainWindow Inherits Window
Control IKImageViewControlMBS1 Inherits IKImageViewControlMBS
ControlInstance IKImageViewControlMBS1 Inherits IKImageViewControlMBS
EventHandler Sub Open() Dim v As IKImageViewMBS = Me.View Dim pic As Picture = LogoMBS(500) v.autoresizes = true v.autohidesScrollers = True v.SetPicture pic v.editable = True v.supportsDragAndDrop = True v.doubleClickOpensImageEditPanel = True v.backgroundColor = NSColorMBS.grayColor End EventHandler
End Control
End Class
MenuBar MainMenuBar
MenuItem FileMenu = "&File"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Edit"
MenuItem EditUndo = "&Undo"
MenuItem EditSeparator1 = "-"
MenuItem EditCut = "Cu&t"
MenuItem EditCopy = "&Copy"
MenuItem EditPaste = "&Paste"
MenuItem EditClear = "#App.kEditClear"
MenuItem EditSeparator2 = "-"
MenuItem EditSelectAll = "Select &All"
End MenuBar
End Project

Download this example: IKImageView Test.zip

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


The biggest plugin in space...