CREATES A SYSTEM OBJECT HVIEWER AND ALLOCATES IT NUMBER N AS REFERENCE
ACTION
The command HVIEWER N creates a system object HVIEWER, and allocates it a number N. The number N will be used to designate the HVIEWER.
The created HVIEWER can then be used through the appropriated commands.
The HVIEWER is created at position (0,0) : that is TOP = 0 pixel and LEFT = 0 pixel, with dimensions: WIDTH = 185 pixels and HEIGHT = 105 pixels.
A HVIEWER displays a HTML formated file with command FILE_LOAD.
A HVIEWER generates the event ON_CLICK.
Remark: by default, the HVIEWER is created on the FORM number 0, but another FORM can be used. For that, create a FORM by FORM N, and send it all the commands by COMMAND_TARGET_IS N before creating the HVIEWER.
SYNTAX:
HVIEWER N
USE ERROR EXAMPLE
rem create a HVIEWER with default position and dimensions
hviewer 1
rem display the HTML file
file_load 1,"my_file.htm"
HVIEWER
HVIEWER N
SEE ALSO
TOP
LEFT
WIDTH
HEIGHT
HINT
HINT_HIDE
COLOR
FULL_SPACE
FILE_LOAD