This function lets you display the contents of an HTML file in a window.
Context
Java client.
Parameters
ALPHA(n) |
HTMLFile |
Name of the HTML file. |
BOOL |
ReturnCode |
Return code for the operation: *TRUE if the operation was successful. *FALSE if the cursor could not be loaded from the specified file. |
Notes:
The display uses the HTMLEditorKit class, which only supports HTML files in version 3.2 (with certain extensions), and their migration to version 4.0. The <applet> tag is not supported.
This HTML help works the same way as for RTF files (i.e. a single window called non-modally: if the same function is called consecutively for two different files, the second loading operation uses the existing window).
Example
HTMLFile = 'c:\HelpFile.html'
ReturnCode = *FALSE
CALL_DLL 'VaToolBx.dll' 'VaToolBxJavaHTMLHelp' HTMLFile ReturnCode
List of the VaToolBx functions by topic