HeaderPane
Main
Hide

SftTree/OCX 8.0 - ActiveX Tree Control

Share Link
Print

ButtonExpandedHot Property, SftTree Object

Defines the expand/collapse button image for an expanded parent item when the mouse cursor is over the expand/collapse button.

Syntax

Get

VB.NETrefImageObj = object.ButtonExpandedHot As SftPictureObject
VBSet refImageObj = object.ButtonExpandedHot As SftPictureObject
C#.NETSftPictureObject refImageObj = object.ButtonExpandedHot;
VC++ISftPictureObject* refImageObj = object->ButtonExpandedHot;
ISftPictureObject* refImageObj = object->GetButtonExpandedHot();
CHRESULT object->get_ButtonExpandedHot(ISftPictureObject** refImageObj);

Put

VB.NETobject.ButtonExpandedHot = refImageObj As SftPictureObject
VBobject.ButtonExpandedHot = refImageObj As SftPictureObject
C#.NETSftPictureObject object.ButtonExpandedHot = refImageObj;
VC++ISftPictureObject* object->ButtonExpandedHot = refImageObj;
void object->PutButtonExpandedHot(ISftPictureObject* refImageObj);
CHRESULT object->put_ButtonExpandedHot(ISftPictureObject* refImageObj);

object

A SftTree object.

refImageObj

Defines the expand/collapse button image for an expanded parent item when the mouse cursor is over the expand/collapse button.

Comments

The ButtonExpandedHot property defines the expand/collapse button image for an expanded parent item when the mouse cursor is over the expand/collapse button.

If the ButtonExpandedHot property is set to Null/Nothing, the image defined using the ButtonExpanded 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 ButtonCollapsed {980702E2-0AB6-41B1-9B85-F8755A697255} 
         Object.Height          =   0
         Object.Width           =   0
         Appearance      =   -1
         FrameColor      =   -1
         SampleColor     =   -1
         Image           =   "Form1.frx":01EB
      EndProperty
      BeginProperty ButtonExpandedHot {980702E2-0AB6-41B1-9B85-F8755A697255} 
         Object.Height          =   0
         Object.Width           =   0
         Appearance      =   -1
         FrameColor      =   -1
         SampleColor     =   -1
         Image           =   "Form1.frx":03DE
      EndProperty

See Also SftTree Object | Object Hierarchy


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