Platforms to show: All Mac Windows Linux Cross-Platform

Previous items

WebViewMBS.makeTextLarger
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Increases the text size in the webview.
WebViewMBS.makeTextSmaller
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Decreases the text size in the webview.
WebViewMBS.mediaStyle as String
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The value to use for the CSS media property.
Example:
dim w as WebViewMBS // your WebView
w.mediaStyle="print"

Notes:
Set or get the media style for the WebView. The mediaStyle will override the normal value of the CSS media property. Setting the value to nil will restore the normal value.
(Read and Write computed property)
WebViewMBS.paste
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that pastes content from the pasteboard at the insertion point or over the selection.
Notes: Available in Mac OS X v10.3.9 and later.
WebViewMBS.pasteAsPlainText
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that pastes pasteboard content as plain text.
Notes: Available in Mac OS X v10.3.9 and later.
WebViewMBS.pasteAsRichText
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that pastes pasteboard content into the receiver as rich text, maintaining its attributes.
Notes:
The text is inserted at the insertion point if there is one; otherwise, it replaces the selection.

Available in Mac OS X v10.3.9 and later.
WebViewMBS.pasteFont
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that pastes font information from the font pasteboard.
Notes:
This action method pastes font information from the font pasteboard onto the selected content or insertion point of a rich text object, or over all text of the receiver.

Available in Mac OS X v10.3.9 and later.
WebViewMBS.performFindPanelAction
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that opens the Find menu and Find panel.
Notes: Available in Mac OS X v10.3.9 and later.
WebViewMBS.preferences as WebPreferencesMBS
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The preferences for this webview.
Notes:
Nil on failure.
(Read and Write computed property)
WebViewMBS.PreferencesIdentifier as string
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The string to use a prefix for storing values for this WebView in the user defaults database.
Notes:
If the WebPreferences for this WebView are stored in the user defaults database, the string set in this method will be used a key prefix.
(Read and Write computed property)
WebViewMBS.Reload
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Reloads the current page.
WebViewMBS.RenderDocumentToEPS as String
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns the content of the view as a EPS file's data.
Example:
dim f as FolderItem
dim b as BinaryStream

// create a new pdf with current content of view
f=SpecialFolder.Desktop.Child("test.eps")
b=f.CreateBinaryFile("")
b.Write theWebView.RenderDocumentToEPS
b.Close

f.Launch // show the pdf in preview

Notes:
Returns "" on any error.
Will resize the eps page to match the size of the website.
WebViewMBS.RenderDocumentToPDF as String
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Returns the content of the view as a PDF file's data.
Example:
dim f as FolderItem
dim b as BinaryStream

// create a new pdf with current content of view
f=SpecialFolder.Desktop.Child("test.pdf")
b=f.CreateBinaryFile("")
b.Write thewebview.RenderDocumentToPDF
b.Close

f.Launch // show the pdf in preview

Notes:
Returns "" on any error.
Will resize the pdf page to match the size of the website.
WebViewMBS.RenderWebsiteImage as variant
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.6, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Makes a screenshot of the current displayed content.
Example:
dim f as FolderItem
dim b as BinaryStream
dim i as NSImageMBS
dim p as string

i=webview.RenderWebsiteImage

p=i.PNGRepresentation

f=SpecialFolder.Desktop.Child("test.png")
b=f.CreateBinaryFile("")
b.Write p

Notes:
Nil on failure.
The image returned is the page completely without scrollbars, so it may be a few thousand pixels height and may not fit on a page to print.
WebViewMBS.ScrollHeight as single
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The height of the scroll view.
Notes: (Read and Write computed property)
WebViewMBS.ScrollLeft as single
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The left position of the scroll view.
Example:
myWebView.ScrollLeft=myWebView.ScrollLeft+5

Notes:
You can set this value to scroll manually.
(Read and Write computed property)
WebViewMBS.ScrollTop as single
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The top position of the scroll view.
Example:
myWebView.ScrollTop=myWebView.ScrollTop+5

Notes:
You can set this value to scroll manually.
(Read and Write computed property)
WebViewMBS.ScrollWidth as single
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.5, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The width of the scroll view.
Notes: (Read and Write computed property)
WebViewMBS.SearchFor(text as string, Forward as boolean, CaseSensitive as boolean, Wrap as Boolean) as boolean
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Searches a document view for a string and highlights the string if it is found.
Notes:
Starts the search from the current selection. Will search across all frames.

text: The string to search for.
forward: True to search forward, False to seach backwards.
caseSensitive: True to for case-sensitive search, False for case-insensitive search.

Returns true if found, false if not found.
WebViewMBS.setMaintainsBackForwardList(value as boolean)
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Whether the back forward history list is created by the webview.
Notes: Default is true.
WebViewMBS.showGuessPanel
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that shows a spelling correction panel.
Notes:
This action method opens the Spelling panel, allowing the user to make a correction during spell checking.

Available in Mac OS X v10.3.9 and later.
WebViewMBS.smartInsertDeleteEnabled as boolean
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.4, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Whether the receiver should insert or delete spaces around selected words to preserve proper spacing and punctuation.
Notes:
If true, the receiver performs smart insert and delete; if false, it inserts and deletes exactly what’s selected.

Available in Mac OS X v10.3.9 and later.
(Read and Write computed property)
WebViewMBS.startSpeaking
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that starts speaking the selected text or all text if there’s no selection.
Notes:
Speech continues asynchronously until the end of the text or until terminated by invoking the stopSpeaking: method.

Available in Mac OS X v10.3.9 and later.
WebViewMBS.StopLoading
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.7, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Stop any pending loads on the frame's data source, and its children.
WebViewMBS.stopSpeaking
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 9.3, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: An action method that stops speaking that is in progress.
Notes:
This action method stops speech that was previously started with startSpeaking.

Available in Mac OS X v10.3.9 and later.
WebViewMBS.SupportsTextEncoding as boolean
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: Find out if the current web page supports text encodings.
Notes: Returns true if the document view of the current web page can support different text encodings.
WebViewMBS.TextSizeMultiplier as single
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The size of the text rendering in views managed by this webView.
Notes:
A fractional percentage value, 1.0 is 100%.
(Read and Write computed property)
WebViewMBS.userAgentForURL(url as string) as String
method, HTMLViewer, MBS REALbasic CocoaBase Plugin (HTMLViewerWeb), class WebViewMBS, Console safe, Plugin version: 7.2, Mac OS X: Works, Windows: Does nothing, Linux x86: Does nothing, Feedback.

Function: The user agent used for accessing the given URL.
Example:
msgbox htmlviewer1.WebViewMBS.userAgentForURL("http://www.apple.com")
// shows: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/419 (KHTML, like Gecko)

Notes: An empty string on failure else the user-agent string for the supplied URL.

The items on this page are in the following plugins: MBS REALbasic CocoaBase Plugin.




Links
MBS Filemaker Plugins - Nachhilfe in Eich