Platforms to show: All Mac Windows Linux Cross-Platform
/Win/HTMLViewer Windows/Reload htmlviewer
Required plugins for this example: MBS Win Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Win/HTMLViewer Windows/Reload htmlviewer
This example is the version from Sun, 5th Nov 2022.
Project "Reload htmlviewer.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 Sub DocumentBegin(url as String)
ProgressWheel1.Visible = true
End EventHandler
EventHandler Sub DocumentComplete(url as String)
ProgressWheel1.Visible = false
End EventHandler
EventHandler Sub DocumentProgressChanged(URL as String, percentageComplete as Integer)
ProgressBar1.Value = percentageComplete
End EventHandler
EventHandler Sub Open()
me.LoadURL "http://www.mbsplugins.de/"
End EventHandler
End Control
Control BevelButton1 Inherits BevelButton
ControlInstance BevelButton1 Inherits BevelButton
EventHandler Sub Action()
dim b as Boolean = HTMLViewer1.IEReloadMBS
if not b then
MsgBox "Failed."
end if
End EventHandler
End Control
Control BevelButton2 Inherits BevelButton
ControlInstance BevelButton2 Inherits BevelButton
EventHandler Sub Action()
dim b as Boolean = HTMLViewer1.IEReloadMBS(true)
if not b then
MsgBox "Failed."
end if
End EventHandler
End Control
Control BevelButton3 Inherits BevelButton
ControlInstance BevelButton3 Inherits BevelButton
EventHandler Sub Action()
dim b as Boolean = HTMLViewer1.IEStopMBS
if not b then
MsgBox "Failed."
end if
End EventHandler
End Control
Control ProgressWheel1 Inherits ProgressWheel
ControlInstance ProgressWheel1 Inherits ProgressWheel
End Control
Control ProgressBar1 Inherits ProgressBar
ControlInstance ProgressBar1 Inherits ProgressBar
End Control
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:
- /Win/HTMLViewer Windows/DebugBar
- /Win/HTMLViewer Windows/Eval Javascript Win
- /Win/HTMLViewer Windows/HTMLViewer execCommand
- /Win/HTMLViewer Windows/HTMLViewer get html source
- /Win/HTMLViewer Windows/HTMLViewer HTML Text and Image
- /Win/HTMLViewer Windows/HTMLViewer Image
- /Win/HTMLViewer Windows/HTMLViewer Post and Headers
- /Win/HTMLViewer Windows/Run JavaScript Function
- /Win/HTMLViewer Windows/textArea Test/textArea Test
- /Win/HTMLViewer Windows/WebKit - Chromium/WebPlugins
The items on this page are in the following plugins: MBS Win Plugin.