# SftButton/OCX 4.0 — API Reference > Index of the SftButton/OCX 4.0 API reference, which is split into files by class or object. Each entry links one file and names the topics in it; read only the files you need. For an exact declaration, read the signatures file named under the class first: one line per member. The guide is in https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0.txt Online documentation: https://softelvdm.com/Documentation/SftButton%20OCX%204%200 ## Overview - [Overview](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-Overview.txt) - Objects: All objects shown in this table are used with SftButton/OCX. - Events: The SftButton/OCX control generates these events: - Syntax Conventions Used: The syntax shown in this documentation follows these guidelines. - .NET Event Types: The syntax for events may list an event argument typically called e, which uses a type specific to the event shown as EventArgumentType. ## SftButton Object (ISftButton Interface) The SftButton object is the main object describing the SftButton/OCX button control. Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-signatures-1.txt - [SftButton Object (ISftButton Interface)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton.txt): overview - [SftButton Methods](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton-Methods.txt): Methods: AboutBox, AVIPlay, AVIPlayResource, CancelMode, GetPosition, GetPositionPix, GetPositionV, HitTest, HitTestPix, HitTestV, LoadPicture, OLEDrag, Refresh - [SftButton Properties (1 of 4)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton-Properties-1.txt): Properties: AllowFocus, AutoSize, AVITransparent, BackColor, BackColorEnd, BackColorFocus, BackColorFocusEnd, BackColorFocusStart, BackColorHover, BackColorHoverEnd, BackColorHoverStart, BackColorOutside, BackColorPressed, BackColorStart, BorderAlways, BorderStyle, Bounce, ButtonStyle, ClickInterval, ClickStyle, CustomCode, DarkEdgeColor - [SftButton Properties (2 of 4)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton-Properties-2.txt): Properties: DarkMode, DarkModeActive, Direct, DPI, DropDownDownClick, DropDownFollows, DropDownPressed, DropDownStyle, DropDownToggle, Enabled, FillOrientation, Follows, Font, ForeColor, ForeColorDownArrow, ForeColorGrayed, ForeColorPressed, GDIPlusSupport, HighContrastActive, HighContrastMode, HoverOnControl, HoverOnImage1, HoverOnImage2, HoverOnText, HoverStyle, hWnd, Image1 - [SftButton Properties (3 of 4)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton-Properties-3.txt): Properties: Image1AlignHorz, Image1AlignVert, Image1Disabled, Image1Hover, Image1Pressed, Image2, Image2AlignHorz, Image2AlignVert, Image2Disabled, Image2Hover, Image2Pressed, ImageBackground, ImageBackgroundDisabled, ImageBackgroundHover, ImageBackgroundPressed, ImageScaling, License, LightEdgeColor, MouseIcon, MouseIconH, MousePointer, OLEDragMode - [SftButton Properties (4 of 4)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton-Properties-4.txt): Properties: OLEDropMode, OptimalHeight, OptimalWidth, Orientation, Picture1, Picture1AlignHorz, Picture1AlignVert, Picture2, Picture2AlignHorz, Picture2AlignVert, Pressed, RightToLeft, ShadowEdgeColor, ShowDropDown, ShowFocus, Text, TextAlignHorz, TextAlignVert, Toggle, UseThemes, Version, WebLicense, WhiteEdgeColor, Window, _FlatProperties, _Version - [SftButton Events](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftButton-Events.txt): Events: Click, DarkModeChange, DblClick, DPIChanged, DropDownClick, DropDownDblClick, FocusIn, FocusOut, HighContrastChange, HoverOff, HoverOn, KeyDown, KeyPress, KeyUp, MouseDblClk, MouseDown, MouseMove, MouseUp, OLECompleteDrag, OLEDragDrop, OLEDragOver, OLEGiveFeedback, OLESetData, OLEStartDrag ## DataObject Object (IVDMDataObject Interface) The DataObject object is used to define data formats and data during an OLE drag & drop operation. Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-signatures-1.txt - [DataObject Object (IVDMDataObject Interface)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-DataObject.txt): overview; Methods: Clear, GetData, GetFormat, SetData; Properties: Files ## DataObjectFiles Object (IVDMDataObjectFiles Interface) The DataObjectFiles object is used by a DataObject object to define file names during an OLE drag & drop operation. Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-signatures-1.txt - [DataObjectFiles Object (IVDMDataObjectFiles Interface)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-DataObjectFiles.txt): overview; Methods: DataObjectFiles.Add, DataObjectFiles.Clear, DataObjectFiles.Remove; Properties: DataObjectFiles.Count, DataObjectFiles.Item ## SftPictureObject Object (ISftPictureObject Interface) The SftPictureObject object describes a graphic consisting of a bitmap, icon, metafile, ImageList, GDI+ image, built-in image or color sample. Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-signatures-1.txt - [SftPictureObject Object (ISftPictureObject Interface)](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-SftPictureObject.txt): overview; Properties: ActualHeight, ActualWidth, Appearance, BitmapHandle, FrameColor, Height, IconHandle, Image, IsEmpty, NETImageObject, Picture, PictureH, SampleColor, Type, Width; Methods: Clear, GetColorSample, GetImage, GetImageList, GetImageListH, LoadImage, LoadImageFromHBITMAP, LoadImageFromResource, SetColorSample, SetImage, SetImageList, SetImageListH ## Constants Signatures: https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-signatures-1.txt - [Constants](https://softelvdm.com/Vault/Softelvdm.com/llms/SftButton-OCX-4.0-reference-Constants.txt) - SftButtonAlignConstants: Alignment constants. - SftButtonAlignVertConstants: Alignment constants. - SftButtonAreaConstants: Area constants. - SftButtonAutoSizeConstants: Auto-sizing constants. - SftButtonBorderStyleConstants: Border style constants. - SftButtonBounceStyleConstants: Button bounce style constants. - SftButtonButtonConstants: Mouse button constants. - SftButtonClickStyleConstants: Click style constants. - SftButtonDarkModeConstants: Dark mode constants. - SftButtonDropDownStyleConstants: Drop down button style constants. - SftButtonHighContrastConstants: High contrast constants. - SftButtonHoverStyleConstants: Hover style constants. - SftButtonKeyConstants: Key constants. - SftButtonOLEDragModeConstants: OLE drag mode constants (used with OLEDragMode property). - SftButtonOLEDragOverConstants: OLEDragOver event constants. - SftButtonOLEDropModeConstants: OLE drop mode constants (used with OLEDropMode property). - SftButtonOrientationConstants: Orientation constants. - SftButtonScalingConstants: DPI scaling constants. - SftButtonStyleConstants: Button style constants. - SftButtonThemesConstants: Windows Themes constants. - SftControlButtonConstants: Mouse button constants. - SftControlKeyConstants: Key constants. - SftControlOLEDragModeConstants: OLE drag mode constants (used with OLEDragMode property). - SftControlOLEDragOverConstants: OLEDragOver event constants. - SftControlOLEDropModeConstants: OLE drop mode constants (used with OLEDropMode property). - SftMousePointerConstants: Predefined mouse icon constants (used with MousePointer property). - SftOLEClipboardConstants: OLE drag & drop format (clipboard) constants. - SftPictureImageConstants: Image constants. - SftPictureTypeConstants: Image type constants.