SftTree/OCX 7.0

SftTree.ButtonCollapsed Property

Softel vdm, Inc.

Defines the expand/collapse button for a collapsed parent item.

Syntax       

Get

VB.NET

refImageObj = object.ButtonCollapsed  As SftPictureObject

VB

Set refImageObj = object.ButtonCollapsed  As SftPictureObject

C#.NET

SftPictureObject refImageObj = object.ButtonCollapsed;

VC++

ISftPictureObject* refImageObj = object->ButtonCollapsed;
ISftPictureObject* refImageObj = object->GetButtonCollapsed();

C

HRESULT object->get_ButtonCollapsed(ISftPictureObject** refImageObj);

Delphi

refImageObj := object.ButtonCollapsed  : ISftPictureObject;

Put

VB.NET

object.ButtonCollapsed = refImageObj  As SftPictureObject

VB

object.ButtonCollapsed = refImageObj  As SftPictureObject

C#.NET

SftPictureObject object.ButtonCollapsed = refImageObj;

VC++

ISftPictureObject* object->ButtonCollapsed = refImageObj;
void object->PutButtonCollapsed(ISftPictureObject* refImageObj);

C

HRESULT object->put_ButtonCollapsed(ISftPictureObject* refImageObj);

Delphi

object.ButtonCollapsed := refImageObj  : ISftPictureObject;

object

A SftTree object.

refImageObj

Defines the expand/collapse button for a collapsed parent item.

Comments

The ButtonCollapsed property defines the expand/collapse button for a collapsed parent item.

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 7.0\Images.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com