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

ListView_SetItemText

Previous pageReturn to chapter overviewNext page

 

Description

 

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

 

Syntax

 

n = ListView_SetItemText(hWnd, ctrlID, RowIndex, ColumnIndex, sText)

 

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 ...

RowIndex

Number

No

Row index. Starts from 1.

If RowIndex = -1, current selected item is considered.

ColumnIndex

Number

No

Column index. Starts from 1

sText

String

No

A string containing the item text

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

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