Button object
Tip The /COM object can be placed on a HTML page (with usage of the HTML object tag:  <object classid="clsid:...">)  using the class identifier: {F3A2203A-6B28-4A74-9DC9-4065D1C0A29D}. The object's program identifier is: "Exontrol.Button". The /COM object module is: "ExButton.dll"
The exButton control is designed to enhance your Windows®-based programs by offering the look-and-feel of present GUI design elements. The control provides predefined button skins for Windows XP, Windows 95/98, and Mac 8.x buttons. Create your own skins for your buttons in minutes, using a WYSYWG skin builder. The ability to specify everything that control needs like graphical objects, transparent skins, HTML caption as simple text makes the exButton one of the most wanted button control on the market. The exButton control easily replaces the Standard Windows button by supporting most of the same properties, methods and events. How to replace my old VB buttons with this new button? 

The Exontrol's Button object supports the following properties and methods:

 

NameDescription
AlignmentAligns the caption in the control.
AllowHotStateSpecifies whether the control displays the hot state when the cursor is over the control.
AnchorFromPointRetrieves the identifier of the anchor from point.
AttachTemplateAttaches a script to the current object, including the events, from a string, file, a safe array of bytes.
BackColorSpecifies the control's background color.
BackgroundExtIndicates additional colors, text, images that can be displayed on the object's background using the EBN string format.
BackgroundExtValueSpecifies at runtime, the value of the giving property for specified part of the background extension.
BeginUpdateMaintains performance when do changes one at a time. This method prevents the control from painting until the EndUpdate method is called.
BorderHeightSets or retrieves a value that indicates the border height of the control.
BorderWidthSets or retrieves a value that indicates the border width of the control.
CaptionSpecifies the button's caption.
DebugSpecifies whether the control displays debugging information.
EnabledEnables or disables the control.
EndUpdateResumes painting the control after painting is suspended by the BeginUpdate method.
EventParamRetrieves or sets a value that indicates the current's event parameter.
ExecuteTemplateExecutes a template and returns the result.
FocusableGets or sets a value that indicates whether the control can receive focus.
FocusSkinSpecifies the skin file to display the specified state, when control has the focus.
FocusSkinVSpecifies the skin file to display the specified state, when control has the focus.
FontRetrieves or sets the control's font.
ForeColorSpecifies the control's foreground color.
ForeColorStateSpecifies the foreground color for a specified state.
FormatAnchorSpecifies the visual effect for anchor elements in HTML captions.
HFitSpecifies a value that indicates the horizontal offset to fit image with the caption.
HTMLPictureAdds or replaces a picture in HTML captions.
hWndRetrieves the control's window handle.
ImageSpecifies the image being displayed.
ImageAlignmentSpecifies the image's alignment.
ImagesSets at runtime the control's image list. The Handle should be a handle to an Image List Control.
ImageSizeRetrieves or sets the size of icons the control displays.
ImageVAlignmentSpecifies the image's vertical alignment.
IncClientStateAdjusts the control's client area for the specified side and state.
ModeSpecifies the control's mode.
MouseIconSets or returns a value that determines a custom Icon to be displayed when the pointer moves over the control.
MousePointerSets or returns a value that determines the MousePointer to be displayed when the pointer moves over the control.
PictureRetrieves or sets a graphic to be displayed in the control.
PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the control's background
RefreshRefreshes the control.
RenderTypeSpecifies the way colored EBN objects are displayed on the component.
ReplaceIconAdds a new icon, replaces an icon or clears the control's image list.
RotateRotates the HTML caption.
ShowFocusRectSets or returns a value that determines whether or not the focus rectangle should be shown.
SkinSpecifies the skin file to display the specified state.
SkinVSpecifies the skin file to display the specified state.
StateSpecifies the control's state.
StyleSpecifies the control's style.
TemplateSpecifies the control's template.
TemplateDefDefines inside variables for the next Template/ExecuteTemplate call.
TemplatePutDefines inside variables for the next Template/ExecuteTemplate call.
ToolTipDelaySpecifies the time in ms that passes before the ToolTip appears.
ToolTipFontRetrieves or sets the tooltip's font.
ToolTipMarginDefines the size of the control's tooltip margins.
ToolTipPopDelaySpecifies the period in ms of time the ToolTip remains visible if the mouse pointer is stationary within a control.
ToolTipTextSpecifies the control's tooltip text.
ToolTipTitleSpecifies the title of the control's tooltip.
ToolTipWidthSpecifies a value that indicates the width of the tooltip window, in pixels.
UseFocusSkinSpecifies whether the focus skins are used when control has the focus.
UserDataGets or sets the user-definable data for the current object.
UseTransparencySpecifies whether the control supports transparency. The transparent regions in the control's skin indicates the transparency.
VAlignmentSpecifies the caption's vertical alignment.
VersionRetrieves the control's version.
VFitSpecifies a value that indicates the vertical offset to fit image with the caption.
WordWrapIndicates whether a multiline text automatically wraps words to the beginning of the next line when necessary.