Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

HTMLViewer.IECharSetMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Sets or retrieves the character set used to encode the object.
Notes:
Example value: "utf-8"
(Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

HTMLViewer.IEContinueFindTextMBS(text as string, count as Integer, flags as Integer, selectText as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.7 No Yes No No No
Function: Continues a search started with IEFindTextMBS.
Notes: Parameters are the same as for IEFindTextMBS.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IECookieMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
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 computed property)

Some examples which use this property:

Feedback, Comments & Corrections

HTMLViewer.IEDefaultCharsetMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Gets the default character set from the current regional language settings.
Notes:
Example value: "windows-1252"
(Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

HTMLViewer.IEDomainMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Sets or gets the security domain of the document.
Notes:
Example value: "www.apple.com"
(Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

HTMLViewer.IEEditableMBS as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
property HTMLViewer Win MBS Win Plugin 11.3 No Yes No No No
Function: Makes the htmlviewer editable on Windows.
Notes: (Read and Write computed property)

Some examples which use this property:

Feedback, Comments & Corrections

HTMLViewer.IEFileCreationDateMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the date the file was created.
Notes: Example value: "09/13/2007"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEFileModifiedDateMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the date the file was last modified.
Notes: Example value: "12/03/2007"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEFileSizeMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the file size.
Notes: Example value: "12475"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEFileUpdatedDateMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the date the file was last updated.
Notes: Example value: "01/01/1601"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEFindTextMBS(text as string, count as Integer, flags as Integer, selectText as boolean) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.7 No Yes No No No
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:

0Default. Match partial words.
1Match backwards.
2Match whole words only.
4Match case.
131072Match bytes.
536870912Match diacritical marks.
1073741824Match Kashida character.
2147483648Match AlefHamza character.

Returns true: The search text was found.
Returns false: The search text was not found.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEGetTextAreaMBS(FormName as String, FieldName as String) as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 16.3 No Yes No No No
Function: Queries text for a textarea.
Notes:
FormName can be "" to look for any field with given name.
Raises exception if field is not found.
Returns text from textarea.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEHandleMBS as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 8.0 No Yes No No No
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:

Feedback, Comments & Corrections

HTMLViewer.IEHistoryBackMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Loads a previous URL from the History list.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEHistoryForwardMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Loads the next URL from the History list.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEHistoryLengthMBS as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the number of elements in the History list.
Notes: Example value: "0"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEHTMLTextMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.7 No Yes No No No
Function: Returns a copy of the html source code of the current webpage.
Example:
msgbox htmlviewer1.IEHTMLTextMBS
Notes:
Improved in plugin version 12.2 to return better HTML text. This is the html generated from current web content and not the page we originally loaded. So this works with IEEditableMBS property.
Returns "" on any error.

On Mac OS X, you can use HTMLViewer1.mainFrameMBS.dataSource.data to get the document html text.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IEImageMBS as picture
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 9.5 No Yes No No No
Function: Copies the picture form the htmlviewer.
Example:
Sub Action()
ClearFocus

Dim picWeb As Picture

// Get image from IE
picWeb = HTMLViewer1.IEImageMBS

canvas1.backdrop = picWeb
End Sub
Notes:
You may want to resize the htmlviewer to get a picture without scrollbars. (See example projects)
You may need to call ClearFocus as it seems like if the focus is on the htmlviewer it does not draw itself in our picture.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IELastModifiedMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
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:

Feedback, Comments & Corrections

HTMLViewer.IEMimeTypeMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the MIME type for the file.
Notes:
Example value: "HTM-Datei"
See also MimeTypeToFileExtensionMBS function.

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IENamePropMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Gets the title of the document file.
Notes: Example value: "Apple"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorAppMinorVersionMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the application's minor version value.
Notes: Example value: ";SP2;"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorAppNameMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the name of the browser.
Notes: Example value: "Microsoft Internet Explorer"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorAppVersionMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
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:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorBrowserLanguageMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves the current browser language.
Notes: Example value: "de"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorCookieEnabledMBS as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
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:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorJavaEnabledMBS as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Returns whether Java is enabled.
Notes: Example value: "True"

Some examples which use this method:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorOnLineMBS as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
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:

Feedback, Comments & Corrections

HTMLViewer.IENavigatorUserAgentMBS as string
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method HTMLViewer Win MBS Win Plugin 7.8 No Yes No No No
Function: Retrieves a string equivalent to the HTTP user-agent request header.
Notes:
The HTTP user-agent request header contains information about compatibility, the browser, and the platform name. For more information about the browser, see the IENavigatorappNameMBS property. For more information about the platform, see the IENavigatorappVersionMBS property.

The IENavigatoruserAgentMBS property dynamically returns a different value depending on the browser and platform versions. For example, Microsoft Internet Explorer 6 returns the following string for Microsoft Windows XP.

Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)

Example value: "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)"

Like other plugin function, this can only work if a page has been loaded. Real Studio won't create the internal htmlviewer object before you load a page.

Some examples which use this method:

Feedback, Comments & Corrections

Next items

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




Links
MBS Xojo PDF Plugins