Button parameter
Use the Button parameter to create a button that will invoke a command when clicked. You can select from several button styles.
Applies to
ALink CloseHH Version
KLink
Related Topics
Shortcut
TCard
WinHelp
Valid values
When clicked, the following example buttons each call the HH Version command.
Syntax | Description | Example | 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:adb880a6-d8ff-11cf-9377-00aa003b7a11"
codebase="HHCTRL.ocx#Version=4,72,8252,0"
width=100
height=100
>
<PARAM name="Command" value="HH Version">
<PARAM name="Button" value="Bitmap:bmpbutton.bmp">
</OBJECT>
Comments
- 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.
![]() |
About parameters |