Platforms to show: All Mac Windows Linux Cross-Platform
/Win/HTMLViewer Windows/Zoom HMTLViewer
Required plugins for this example: MBS Win Plugin
Last modified Sun, 22th Mar 2014.
You find this example project in your MBS Xojo Plugin download as a Xojo project file within the examples folder: /Win/HTMLViewer Windows/Zoom HMTLViewer
Download this example: Zoom HMTLViewer.zip
Project "Zoom HMTLViewer.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Delete"
Const kFileQuit = "&Quit"
Const kFileQuitShortcut = ""
End Class
Class Window1 Inherits Window
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action()
call HTMLViewer1.IEZoomMBS(50)
End EventHandler
End Control
Control HTMLViewer1 Inherits HTMLViewer
ControlInstance HTMLViewer1 Inherits HTMLViewer
EventHandler Sub Open()
me.LoadURL "http://www.mbsplugins.de/"
End EventHandler
End Control
Control PushButton2 Inherits PushButton
ControlInstance PushButton2 Inherits PushButton
EventHandler Sub Action()
call HTMLViewer1.IEZoomMBS(100)
End EventHandler
End Control
Control PushButton3 Inherits PushButton
ControlInstance PushButton3 Inherits PushButton
EventHandler Sub Action()
call HTMLViewer1.IEZoomMBS(200)
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
See also:
- /Win/HTMLViewer Windows/Eval Javascript Win
- /Win/HTMLViewer Windows/HTML Editor
- /Win/HTMLViewer Windows/HTMLViewer Extensions
- /Win/HTMLViewer Windows/HTMLViewer Get and Set Field
- /Win/HTMLViewer Windows/HTMLViewer Image
- /Win/HTMLViewer Windows/HTMLViewer Post and Headers
- /Win/HTMLViewer Windows/Reload htmlviewer
- /Win/HTMLViewer Windows/Run JavaScript Function
- /Win/HTMLViewer Windows/Run Javascript Win
- /Win/HTMLViewer Windows/WebKit - Chromium/WebPlugins
Download this example: Zoom HMTLViewer.zip
The items on this page are in the following plugins: MBS Win Plugin.
