Navigation:  thinBasic Modules > UI (User Interface) > 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