MBS Plugin Documentation
Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchie
New in Version 7.0 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 8.0 8.1 8.2 8.3 8.4 8.5 8.6 8.7 9.0
The list of the themes, classes, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The application name.
Example:
htmlviewer.ApplicationNameForUserAgentMBS="test"
// useragent is now "Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/417.9 (KHTML, like Gecko) test"
Notes: This name will be used in user-agent strings that are chosen for best results in rendering web pages.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewerWeb), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The backforward list for this webView.
Notes: Nil on failure.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The height of the htmlviewer control.
Notes:
Bounds is the width and height of the controls area, but visible is only a part depending on the window size. So if Bounds are equal to the visible part, there is no scrollbar.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The left position of the control size.
Notes:
Should be 0.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The top position of the view size.
Notes:
Should be 0.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The width of the htmlviewer control.
Notes:
Bounds is the width and height of the controls area, but visible is only a part depending on the window size. So if Bounds are equal to the visible part, there is no scrollbar.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Whether the history can be used to move back one website.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Whether the history can be used to move forward one website.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Whether the text size can be increased.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Whether the text size can be decreased.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Checks if the the MIME type is a type that the WebKit will interpret as HTML.
Notes: Returns false on any error and true on success.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Checks if the WebKit can show content of a certain MIME type.
Notes: Returns false on any error and true on success.
class, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Class in Realbasic 2005 for HTML rendering.
Notes: The class itself is available on all platforms, but all the plugin methods are currently only working on Mac OS X.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Clears the focus.
Example:
htmlviewer1.ClearFocusMBS
Notes: If the focus is on the webpage, it will be cleared so there is no focus on the window. Useful if you want to workaround a focus bug in the htmlviewer control.method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Whether continuous spell checking is enabled.
Example:
htmlviewer1.ContinuousSpellCheckingEnabledMBS=True
Notes: (Read and Write runtime property)method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The custom text encoding name.
Notes:
On getting:
The custom text encoding name or "" if no custom text encoding name has been set.
On setting:
Make the page display with a different text encoding; stops any load in progress.
The text encoding passed in overrides the normal text encoding smarts including what's specified in a web page's header or HTTP response.
The text encoding automatically goes back to the default when the top level frame changes to a new location.
Setting the text encoding name to nil makes the webView use default encoding rules.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The custom user-agent string or nil if no custom user-agent string has been set.
Example:
htmlviewer1.CustomUserAgentMBS=NewCFStringMBS("HelloWorldBrowser")
Notes: (Read and Write runtime property)method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Works, Windows: Works, Linux x86: Works, Feedback.
Function: Get or set the htmlviewer behavior.
Notes:
This is a private API from Apple which may break in the future.
It seems to exist for the dashboard application to switch some flags for event handling.
Behavior constants:
const WebDashboardBehaviorAlwaysSendMouseEventsToAllWindows = 0
const WebDashboardBehaviorAlwaysSendActiveNullEventsToPlugIns = 1
const WebDashboardBehaviorAlwaysAcceptsFirstMouse = 2
const WebDashboardBehaviorAllowWheelScrolling = 3
const WebDashboardBehaviorUseBackwardCompatibilityMode = 4
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Enable or disable the background drawing.
Notes:
Works only with Webkit on Mac OS X 10.3.9 and newer.
Returns false on unsupported Webkit versions.
If you set it to false, the background is not drawn and you can have transparent websites like the Dashboard widgets.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: An estimate of the percent complete for a document load.
Notes: This value will range from 0 to 1.0 and, once a load completes, will remain at 1.0 until a new load starts, at which point it will be reset to 0. The value is an estimate based on the total number of bytes expected to be received for a document, including all it's possible subresources. For more accurate progress indication it is recommended that you implement a WebFrameLoadDelegate and a WebResourceLoadDelegate.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Runs the given java script and returns the result.
Example:
// shows current user agent string which the control sends to website
MsgBox htmlviewer1.EvaluateJavaScriptMBS("navigator.userAgent")
Notes: Returns "" on any error.
In Safari 2 we used "return 1+2;" while in Safari 3 we only need "1+2;". The return is no longer needed.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The height of the view frame.
Notes: (Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The left position of the view frame.
Notes: (Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The top position of the view frame.
Notes: (Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The width of the view frame.
Notes: (Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewerPrint), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The current page format settings as a string.
Notes:
Can be used to save current printer settings to a preferences file.
Value is an empty string until a page format is defined.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Go back to the previous URL in the backforward list.
Notes: Returns true if able to go back in the backforward list, false otherwise.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Go forward to the next URL in the backforward list.
Notes: Returns true if able to go forward in the backforward list, false otherwise.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewerWeb), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: Moves on the history to the given item.
Notes: Returns true on success or false on failure.
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The group name for this WebView.
Notes:
JavaScript may access named frames within the same group.
(Read and Write runtime property)
method, HTMLViewer, MBS Cocoa Plugin (HTMLViewer), class HTMLViewer, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.
Function: The Handle of the WebView behind the HTMLViewer control.
Notes: Must be non zero for the plugin functions to work.
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Sets or retrieves the character set used to encode the object.
Notes:
Example value: "utf-8"
(Read and Write runtime property)
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Continues a search started with IEFindTextMBS.
Notes: Parameters are the same as for IEFindTextMBS.
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Sets or gets the string value of a cookie.
Notes:
Example value: "s_vi=[CS]v1|427CA13500002D10-A000B5B00000001[CE]; s_cc=true; s_nr=1196708888562; s_sq=%5B%5BB%5D%5D"
(Read and Write runtime property)
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Gets the default character set from the current regional language settings.
Notes:
Example value: "windows-1252"
(Read and Write runtime property)
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Sets or gets the security domain of the document.
Notes:
Example value: "www.apple.com"
(Read and Write runtime property)
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the date the file was created.
Notes: Example value: "09/13/2007"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the date the file was last modified.
Notes: Example value: "12/03/2007"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the file size.
Notes: Example value: "12475"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the date the file was last updated.
Notes: Example value: "01/01/1601"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Finds text on the current website.
Notes:
text: the string that specifies the text to find.
count: long that specifies the number of characters to search from the starting point of the range. A positive integer indicates a forward search; a negative integer indicates a backward search.
Flags: integer that specifies one or more of the following flags to indicate the type of search:
| 0 | Default. Match partial words. |
| 1 | Match backwards. |
| 2 | Match whole words only. |
| 4 | Match case. |
| 131072 | Match bytes. |
| 536870912 | Match diacritical marks. |
| 1073741824 | Match Kashida character. |
| 2147483648 | Match AlefHamza character. |
Returns true: The search text was found.
Returns false: The search text was not found.
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.6, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: The handle to the windows browser object.
Notes: If this value is zero, the plugin htmlviewer functions for Windows will not work.
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Loads a previous URL from the History list.
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Loads the next URL from the History list.
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the number of elements in the History list.
Notes: Example value: "0"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.7, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns a copy of the html source code of the current webpage.
Notes: Returns "" on any error.
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Gets the date that the page was last modified, if the page supplies one.
Notes: Example value: "12/03/2007 20:08:17"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the MIME type for the file.
Notes: Example value: "HTM-Datei"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Gets the title of the document file.
Notes: Example value: "Apple"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the application's minor version value.
Notes: Example value: ";SP2;"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the name of the browser.
Notes: Example value: "Microsoft Internet Explorer"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the platform and version of the browser.
Notes: Example value: "4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves the current browser language.
Notes: Example value: "de"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves whether client-side persistent cookies are enabled in the browser.
Notes:
Persistent cookies are those that are stored on the client-side computer.
Example value: "True"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Returns whether Java is enabled.
Notes: Example value: "True"
Some examples which use this method:
method, HTMLViewer, MBS Win Plugin (WindowsHTMLViewer), class HTMLViewer, Console safe, Plugin version: 7.8, Mac OS X: Does nothing, Windows: Works, Linux x86: Does nothing, Feedback.
Function: Retrieves a value indicating whether the system is in global offline mode.
Notes:
The user can modify the global offline state by choosing Work Offline from the File menu in Microsoft Internet Explorer version 4.0 or later. This property does not indicate whether the system is connected to the network.
Example value: "True"
Some examples which use this method:
The items on this page are in the following plugins: MBS Cocoa Plugin, MBS Win Plugin.
Monkeybread Software Realbasic Plugins - Jugendzentrum Nickenich