Click to return to the HTML Help home page    
Parameters     Command     HTML Help ActiveX Control...    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

Button Parameter


Microsoft Corporation

Updated June 10, 1999

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
Close
HH 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


link to overview topic About parameters
 



Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.