Compartir a través de


Close

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

Properties

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:52a2aaae-085d-4187-97ea-8c30db990436"
   codebase="Hhctrl.ocx#Version=5,02,3790,1194"
   width=100
   height=100
>
   <PARAM name="Command" value="Close">
   <PARAM name="Button" value="Text:Close this window!">
</OBJECT>

Remarks

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

About commands