Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > LISTVIEW Control > ListView: Items functions >

ListView_SortItems

Previous pageReturn to chapter overviewNext page

 

Description

 

Changes the text of a list-view item or subitem.

 

Syntax

 

n = ListView_SortItems(hWnd, ctrlID, ColumnIndex, Desc, IsNumeric)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the list-view control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

ColumnIndex

Number

No

Column index. Starts from 1

Desc

Number

No

%TRUE if column is to be sorted in descending order

IsNumeric

Number

No

%TRUE if column is to be sorted as numeric

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com