SftDirectory 2.5

SftDirectory.SelectionCount Property

Softel vdm, Inc.

Returns the number of selected files/folders.

Syntax       

Get

VB.NET

Count = object.SelectionCount  As Integer

VB

Count = object.SelectionCount  As Integer

C#.NET

int Count = object.SelectionCount;

VC++

int Count = object->SelectionCount;
int Count = object->GetSelectionCount();

C

HRESULT object->get_SelectionCount(int* Count);

Delphi

Count := object.SelectionCount   : Integer;

object

A SftDirectory object.

Count

Returns the number of selected files/folders.

Comments

The SelectionCount property returns the number of selected files/folders.

The MultiSelect property defines whether only one or multiple files/folders can be selected at a time.  Combo box style controls (see ControlStyle property) support single selection only.

All selections can be cleared using the ClearSelection property.


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