HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

ButtonCollapsedHot Property, SftTree Object

Defines the expand/collapse button for a collapsed parent item when the mouse cursor is over the expand/collapse button.

Syntax

Get

VB.NETrefImageObj = object.ButtonCollapsedHot As SftPictureObject
VBSet refImageObj = object.ButtonCollapsedHot As SftPictureObject
C#.NETSftPictureObject refImageObj = object.ButtonCollapsedHot;
VC++ISftPictureObject* refImageObj = object->ButtonCollapsedHot;
ISftPictureObject* refImageObj = object->GetButtonCollapsedHot();
CHRESULT object->get_ButtonCollapsedHot(ISftPictureObject** refImageObj);

Put

VB.NETobject.ButtonCollapsedHot = refImageObj As SftPictureObject
VBobject.ButtonCollapsedHot = refImageObj As SftPictureObject
C#.NETSftPictureObject object.ButtonCollapsedHot = refImageObj;
VC++ISftPictureObject* object->ButtonCollapsedHot = refImageObj;
void object->PutButtonCollapsedHot(ISftPictureObject* refImageObj);
CHRESULT object->put_ButtonCollapsedHot(ISftPictureObject* refImageObj);

object

A SftTree object.

refImageObj

Defines the expand/collapse button for a collapsed parent item when the mouse cursor is over the expand/collapse button.

Comments

The ButtonCollapsedHot property defines the expand/collapse button for a collapsed parent item when the mouse cursor is over the expand/collapse button.

If the ButtonCollapsedHot property is set to Null/Nothing, the image defined using the ButtonCollapsed property is used instead.

User-defined expand/collapse button images are only used if the ButtonAppearance property is set to buttonsSftTreeUserImages and at least the ButtonExpanded and ButtonCollapsed properties define valid images.

Sample bitmaps for expand/collapse buttons are provided in the directory \Program Files\Softelvdm\SftTree OCX 8.0\Images.

Examples

VB6

      BeginProperty ButtonExpandedHot {980702E2-0AB6-41B1-9B85-F8755A697255} 
         Object.Height          =   0
         Object.Width           =   0
         Appearance      =   -1
         FrameColor      =   -1
         SampleColor     =   -1
         Image           =   "Form1.frx":03DE
      EndProperty
      BeginProperty ButtonCollapsedHot {980702E2-0AB6-41B1-9B85-F8755A697255} 
         Object.Height          =   0
         Object.Width           =   0
         Appearance      =   -1
         FrameColor      =   -1
         SampleColor     =   -1
         Image           =   "Form1.frx":05D9
      EndProperty

See Also SftTree Object | Object Hierarchy


Last Updated 05/24/2026 - (email)
© 2026 Softel vdm, Inc.