Close

HTML Help ActiveX

Close command

Purpose

Closes the window in which the current topic appears.

You can use the Close command to close a secondary window that does not include a Close button.

The Close command could also be used with a help wizard. For example, a user could answer the question "Did this solve your problem?" by clicking No, which would link to the next topic, or clicking Yes, which would close the window.

This command can be used only with a compiled help (.chm) file.

Syntax


<PARAM  name="Command" value="Close">

[<PARAM name="Button" value="[Text: Button text|Bitmap: Bitmap file path|Icon:Icon file path]">]
[<PARAM name="Font" value="Facename[, point size[, charset[, color[, PLAIN BOLD ITALIC UNDERLINE]]]]">]
[<PARAM name="Text" value="Text: Link text">]


Property Description
Button Specifies the button style. Optional.
Command Calls the Close command.
Font Specifies the font attributes. Optional.
Text Specifies the link text. Optional.

Example


<OBJECT

id=MyControl
type="application/x-oleobject"
classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="HHCTRL.ocx#Version=4,72,8252,0"
width=100
height=100
>
<PARAM name="Command" value="Close">
<PARAM name="Button" value="Text:Close this window!"> </OBJECT>

Comments

  • The Button parameter is omitted when this command is invoked by a script.

link to overview topic About commands