Platforms to show: All Mac Windows Linux Cross-Platform
/Win/HTMLViewer Windows/textArea Test/textArea Test
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/textArea Test/textArea Test
This example is the version from Tue, 16th Sep 2019.
Project "textArea Test.xojo_binary_project"
Class App Inherits Application
Const kEditClear = "&Löschen"
Const kFileQuit = "Beenden"
Const kFileQuitShortcut = ""
End Class
Class MainWindow Inherits Window
Control HTMLViewer1 Inherits HTMLViewer
ControlInstance HTMLViewer1 Inherits HTMLViewer
End Control
Control Label1 Inherits Label
ControlInstance Label1 Inherits Label
End Control
Control PushButton1 Inherits PushButton
ControlInstance PushButton1 Inherits PushButton
EventHandler Sub Action()
TextArea1.Text = HTMLViewer1.IEGetTextAreaMBS("formtest", "test")
End EventHandler
End Control
Control PushButton2 Inherits PushButton
ControlInstance PushButton2 Inherits PushButton
EventHandler Sub Action()
call HTMLViewer1.IESetTextAreaMBS("formtest", "test", TextArea1.Text)
End EventHandler
End Control
Control TextArea1 Inherits TextArea
ControlInstance TextArea1 Inherits TextArea
End Control
EventHandler Sub Open()
dim f as FolderItem = GetFolderItem("textArea.html")
HTMLViewer1.LoadPage(f)
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:
- /Win/HTMLViewer Windows/HTML Editor
- /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/Load HTML Test
- /Win/HTMLViewer Windows/Run JavaScript Function
- /Win/HTMLViewer Windows/WebKit - Chromium/HTMLViewer with WebKit on Windows
- /Win/HTMLViewer Windows/WebKit - Chromium/WebPlugins
- /Win/HTMLViewer Windows/Zoom HMTLViewer
The items on this page are in the following plugins: MBS Win Plugin.