Hide

SftButton/OCX 3.0 - Button Control

Display
Print

SftButton Object (ISftButton Interface)

The SftButton object is the main object describing the SftButton/OCX button control. Through its properties, additional objects can be accessed.

Property/MethodDescription
_VersionReturns the product's exact version.
AboutBoxDisplays product, contact and copyright information.
AllowFocusDefines whether the control can receive the input focus.
AutoSizeDefines how the control is resized based on its contents.
AVIPlayDefines the animation used as a button picture component.
AVIPlayResourceDefines the animation used as a button picture component.
AVITransparentDefines whether animations are transparent.
BackColorDefines the control's background color.
BackColorEndDefines the control's gradient fill background color (combined with BackColorStart).
BackColorFocusDefines the control's background color when it has the input focus.
BackColorFocusEndDefines the control's gradient fill background color when it has the input focus (combined with BackColorFocusStart).
BackColorFocusStartDefines the control's gradient fill background color when it has the input focus (combined with BackColorFocusEnd).
BackColorHoverDefines the control's background color when the mouse cursor hovers over the control.
BackColorHoverEndDefines the control's gradient fill background color when the mouse cursor hovers over the control (combined with BackColorHoverStart).
BackColorHoverStartDefines the control's gradient fill background color when the mouse cursor hovers over the control (combined with BackColorHoverEnd).
BackColorOutsideDefines the control's background color around the outer perimeter (using Windows themes only).
BackColorPressedDefines the control's background color when pressed.
BackColorStartDefines the control's gradient fill background color (combined with BackColorEnd).
BorderAlwaysDefines whether the control border is always displayed.
BorderStyleDefines the control's border style.
BounceDefines the control's visual response to a mouse click.
ButtonStyleDefines the button style.
CancelModeCancels current processing modes.
ClickIntervalDefines the auto-repeat interval between Click events while the button is pressed.
ClickStyleDefines how the control responds to mouse clicks.
CustomCodeDefines optional product customization.
DarkEdgeColorDefines the control's color for dark edges.
DirectReturns an ISftButtonVTable interface pointer.
DropDownDownClickDefines whether the drop down button fires the DropDownClick event when the mouse button is either pressed or released.
DropDownFollowsDefines whether the drop down button follows button clicks.
DropDownPressedDefines whether the drop down button is pressed (toggle button only).
DropDownStyleDefines the width of the drop down button.
DropDownToggleDefines whether the drop down button is a toggle button.
EnabledDefines whether the control responds to user-generated events.
FillOrientationDefines the gradient fill orientation.
FollowsDefines whether the button follows drop down button clicks.
FontDefines the font used to display text.
ForeColorDefines the control's text color.
ForeColorDownArrowDefines the foreground color for the drop down arrow.
ForeColorGrayedDefines the control's text color when disabled.
ForeColorPressedDefines the control's text color when pressed.
GDIPlusSupportReturns whether GDI+ support is available.
GetPositionReturns the position and dimensions of an area of the control.
GetPositionPixReturns the position and dimensions of an area of the control.
GetPositionVReturns the position and dimensions of an area of the control.
HitTestDetermines the area at a given location.
HitTestPixDetermines the area at a given location.
HitTestVDetermines the area at a given location.
HoverOnControlThe mouse cursor is located on the control.
HoverOnImage1The mouse cursor is located on the first image of the control.
HoverOnImage2The mouse cursor is located on the second image of the control.
HoverOnTextThe mouse cursor is located on the text portion of the control.
HoverStyleDefines how images respond to mouse cursor positions.
hWndReturns the control's window handle.
Image1Defines the first graphic.
Image1AlignHorzDefines the horizontal alignment of the first graphic.
Image1AlignVertDefines the vertical alignment of the first graphic.
Image1DisabledDefines the first graphic when the button is disabled.
Image1HoverDefines the first graphic when the mouse cursor is located on the control.
Image1PressedDefines the first graphic when the button is pressed.
Image2Defines the second graphic.
Image2AlignHorzDefines the horizontal alignment of the second graphic.
Image2AlignVertDefines the vertical alignment of the second graphic.
Image2DisabledDefines the second graphic when the button is disabled.
Image2HoverDefines the second graphic when the mouse cursor is located on the control.
Image2PressedDefines the second graphic when the button is pressed.
ImageBackgroundDefines the background image.
ImageBackgroundDisabledDefines the background image when the button is disabled.
ImageBackgroundHoverDefines the background image when the mouse cursor is located on the control.
ImageBackgroundPressedDefines the background image when the button is pressed.
LicenseReturns the product's license number.
LightEdgeColorDefines the control's color for light edges.
LoadPictureLoads a picture from a file/URL.
MouseIconDefines a custom mouse icon.
MouseIconHDefines a custom mouse icon.
MousePointerDefines the mouse pointer used.
OLEDragInitiates an OLE drag & drop operation.
OLEDragModeDefines OLE drag support.
OLEDropModeDefines OLE drop support.
OptimalHeightReturns the control's optimal height.
OptimalWidthReturns the control's optimal width.
OrientationDefines the text and picture orientation.
Picture1Defines the first graphic.
Picture1AlignHorzDefines the horizontal alignment of the first graphic.
Picture1AlignVertDefines the vertical alignment of the first graphic.
Picture2Defines the second graphic.
Picture2AlignHorzDefines the horizontal alignment of the second graphic.
Picture2AlignVertDefines the vertical alignment of the second graphic.
PressedDefines whether the button is pressed (toggle button only).
RefreshRepaints the entire control.
RightToLeftDefines the display direction and visual appearance on a bidirectional system.
ShadowEdgeColorDefines the control's color for shadow edges.
ShowDropDownDefines whether the drop down button is displayed.
ShowFocusDefines whether the control displays a focus rectangle when it has the input focus.
TextDefines the control's caption.
TextAlignHorzDefines the horizontal alignment of the text.
TextAlignVertDefines the vertical alignment of the text.
ToggleDefines whether the button is a toggle button.
UseThemesDefines whether Windows themes can be used.
VersionReturns the product's exact version.
WebLicenseDefines the license information for use on one web site.
WhiteEdgeColorDefines the control's color for white edges.
WindowReturns the control's window handle.

See Also Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.