Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use the Button parameter to create a button that will invoke a command when clicked. You can select from several button styles.
Applies to
Valid Values
The following table shows the syntax used to create various types of buttons.
Syntax | Description | Notes |
---|---|---|
<PARAM name="Button" value="Text:button text"> | Button with a text label. | You can enter text of any length for the label. The text will not wrap. |
<PARAM name="Button" value=""> | "Chiclet" button. | To specify a chiclet button, you can remove the Button parameter entirely or use empty quotation marks (value=""). |
<PARAM name="Button" value="Bitmap:shortcut"> | Button with a shortcut icon. | ... |
<PARAM name="Button" value="Bitmap:path to .bmp file"> | Button with a bitmap image. | You can specify an absolute or relative path. |
<PARAM name="Button" value="Icon:path to .ico file"> | Button with an icon. | You can specify an absolute or relative path. |
Example
The following example uses a button with a bitmap image to call the HH Version command.
<OBJECT
id=bitmap
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="HH Version">
<PARAM name="Button" value="Bitmap:bmpbutton.bmp">
</OBJECT>
Remarks
- You can invoke a command using the Click method instead of a button.
- Be sure to include all graphic files in the [FILES] section of your HTML Help project (.hhp) file.
Related topics