Platforms to show: All Mac Windows Linux Cross-Platform
/MacControls/HTMLViewer Mac/HTMLViewer on TabPanels fix
Function:
Required plugins for this example: MBS MacControls Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacControls/HTMLViewer Mac/HTMLViewer on TabPanels fix
Function:
Required plugins for this example: MBS MacControls Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /MacControls/HTMLViewer Mac/HTMLViewer on TabPanels fix
Project "HTMLViewer on TabPanels fix.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control TabPanel1 Inherits TabPanel
ControlInstance TabPanel1 Inherits TabPanel
EventHandler Sub Change()
HTMLViewer1.Visible=me.Value=0
HTMLViewer2.Visible=me.Value=1
HTMLViewer3.Visible=me.Value=2
HTMLViewer1.visibleMBS=me.Value=0
HTMLViewer2.visibleMBS=me.Value=1
HTMLViewer3.visibleMBS=me.Value=2
End EventHandler
End Control
Control HTMLViewer1 Inherits HTMLViewer
ControlInstance HTMLViewer1 Inherits HTMLViewer
EventHandler Sub Open()
me.LoadURL "http://www.heise.de"
End EventHandler
End Control
Control HTMLViewer2 Inherits HTMLViewer
ControlInstance HTMLViewer2 Inherits HTMLViewer
EventHandler Sub Open()
me.LoadURL "http://www.macnews.de"
End EventHandler
End Control
Control HTMLViewer3 Inherits HTMLViewer
ControlInstance HTMLViewer3 Inherits HTMLViewer
EventHandler Sub Open()
me.LoadURL "http://www.mactechnews.de"
End EventHandler
End Control
EventHandler Sub Open()
HTMLViewer1.visibleMBS=true
HTMLViewer2.visibleMBS=false
HTMLViewer3.visibleMBS=false
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:
- /MacControls/HTMLViewer Mac/Custom Printing mit WebPrintMBS
- /MacControls/HTMLViewer Mac/Custom Printing with WebPrintMBS
- /MacControls/HTMLViewer Mac/DOM functions
- /MacControls/HTMLViewer Mac/Google Search
- /MacControls/HTMLViewer Mac/HTMLViewer Image
- /MacControls/HTMLViewer Mac/JavaScript callback test
- /MacControls/HTMLViewer Mac/Open Link in iTunes
- /MacControls/HTMLViewer Mac/Reload htmlviewer
- /MacControls/HTMLViewer Mac/WebDownloadDelegateMBS Test
- /MacControls/HTMLViewer Mac/WebFrameDelegate
The items on this page are in the following plugins: MBS MacControls Plugin.
Feedback: Report problem or ask question.