SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines a custom mouse icon.
Get | |||
VB | Set refPictureObj = object.MouseIcon As IPictureDisp | ||
Put | |||
VB | object.MouseIcon = refPictureObj As IPictureDisp | ||
PutRef | |||
VB | Set object.MouseIcon = refPictureObj As IPictureDisp |
object
refPictureObj
A reference to a Picture object. Only icons are supported.
The MouseIcon property defines a custom mouse icon.
The MouseIcon property provides a custom icon that is used when the MousePointer property is set to sftCustom (99). This mouse pointer is displayed when the cursor is located on the control.
Using PutRef (see Syntax above) the control will use the reference to the Picture object. If the Picture object is later changed, this will also affect the image used by the control. Using Put instead causes the control to create a copy of the Picture object. If the Picture object is later changed, this will not affect the image used by the control as it uses a copy of the object. Because of the additional overhead and the increased resource use of Put, PutRef is the preferred method.
A picture box is used to hold the icon for the MouseIcon property. A suitable icon has been defined in the picture box using its Picture property.
Set SftTabs1.MouseIcon = Picture1.Picture SftTabs1.MousePointer = sftCustom
See Also SftTabs Object | Object Hierarchy