Platforms to show: All Mac Windows Linux Cross-Platform

/MacControls/HTMLViewer Mac/Open Link in iTunes
Function:
Required plugins for this example:
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacControls/HTMLViewer Mac/Open Link in iTunes
Project "Open Link in iTunes.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control HTMLViewer1 Inherits HTMLViewer
ControlInstance HTMLViewer1 Inherits HTMLViewer
EventHandler Function CancelLoad(URL as String) As Boolean System.DebugLog "CancelLoad: "+url if left(url,5)="itms:" then ShowURL url Return true end if End EventHandler
EventHandler Sub DocumentBegin(URL as String) System.DebugLog "DocumentBegin: "+url End EventHandler
EventHandler Sub DocumentComplete(URL as String) System.DebugLog "DocumentComplete: "+url End EventHandler
EventHandler Function NewWindow() As HTMLViewer System.DebugLog "NewWindow" End EventHandler
End Control
EventHandler Sub Open() HTMLViewer1.LoadURL "http://itunes.apple.com/en/app/id347349895?mt=8" End EventHandler
End Class
MenuBar MenuBar1
MenuItem FileMenu = "&Ablage"
MenuItem FileQuit = "#App.kFileQuit"
MenuItem EditMenu = "&Bearbeiten"
MenuItem EditUndo = "&Rückgängig"
MenuItem UntitledMenu1 = "-"
MenuItem EditCut = "&Ausschneiden"
MenuItem EditCopy = "&Kopieren"
MenuItem EditPaste = "&Einfügen"
MenuItem EditClear = "#App.kEditClear"
MenuItem UntitledMenu0 = "-"
MenuItem EditSelectAll = "&Alles auswählen"
End MenuBar
End Project

See also:

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

Feedback: Report problem or ask question.

The biggest plugin in space...