SftDirectory 2.5

SftDirectoryColumn.Sort Method

Softel vdm, Inc.

Sorts the column.

Syntax       

VB.NET

object.Sort(ByVal Ascending As Boolean)

VB

object.Sort(ByVal Ascending As Boolean)

C#.NET

void object.Sort(bool Ascending);

VC++

HRESULT object->Sort(VARIANT_BOOL Ascending);

C

HRESULT object->raw_Sort(VARIANT_BOOL Ascending);

Delphi

procedure object.Sort(Ascending : WordBool);

object

A SftDirectoryColumn object.

Ascending

Set to True to sort the column contents in ascending fashion, False for descending sort order.

Comments

The Sort method sorts the column.

Column sorting is only available if the Headers.Sortable property is suitably defined.

The column header receives an indicator image, showing the current sort direction ( = ascending or = descending).

User contents (see Column.Contents, contentsSftDirectoryUser1 - contentsSftDirectoryUser9) are always sorted alphabetically.


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