SftDirectory 2.5

SftDirectory.ExpandButtons Property

Softel vdm, Inc.

Defines whether expand buttons are shown.

Syntax       

Get

VB.NET

Style = object.ExpandButtons  As SftDirectoryExpandButtonConstants

VB

Style = object.ExpandButtons  As SftDirectoryExpandButtonConstants

C#.NET

SftDirectoryExpandButtonConstants Style = object.ExpandButtons;

VC++

enum SftDirectoryExpandButtonConstants Style = object->ExpandButtons;
enum SftDirectoryExpandButtonConstants Style = object->GetExpandButtons();

C

HRESULT object->get_ExpandButtons(enum SftDirectoryExpandButtonConstants* Style);

Delphi

Style := object.ExpandButtons  : TOleEnum;

Put

VB.NET

object.ExpandButtons = Style  As SftDirectoryExpandButtonConstants

VB

object.ExpandButtons = Style  As SftDirectoryExpandButtonConstants

C#.NET

SftDirectoryExpandButtonConstants object.ExpandButtons = Style;

VC++

enum SftDirectoryExpandButtonConstants object->ExpandButtons = Style;
void object->PutExpandButtons(enum SftDirectoryExpandButtonConstants Style);

C

HRESULT object->put_ExpandButtons(enum SftDirectoryExpandButtonConstants Style);

Delphi

object.ExpandButtons := Style  : TOleEnum;

object

A SftDirectory object.

Style

Defines whether expand buttons are shown.

Style

Value

Description

expandSftDirectoryNone

0

No expand buttons are shown.

expandSftDirectoryAll

1

Expand buttons are shown for all folders that can be expanded.

expandSftDirectoryNonRoot

2

Expand buttons are shown for all folders, that can be expanded, except the root folder.

Comments

The ExpandButtons property defines whether expand buttons are shown.

The end-user can click on the expand button to expand a folder to view its subfolders.

A folder may show an expand button, even though the folder has no subfolders.  This can occur if the process of determining whether a folder has subfolders is too time consuming.  In this case an expand button is shown.  It is removed once the user attempts to expand the folder and it is determined that the folder has no displayable contents.


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