<<

Contents

Search

>>

 

TREEVIEW_CHANGE_TEXT

 

 

Function

 

 

Syntax:

TREEVIEW_CHANGE_TEXT(<Item Number>,<Text>[,<Handle>])

 

<Item Number>

= <NUM-EXPRESSION>

<Text>

= <STRING-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

 

Meaning:

Changes the text of a TREEVIEW item.

 

This function changes the text of an element of a graphic tree. It returns the result 0 if no error occurred, otherwise an error number (read TREEVIEW).

 

Parameter:

Item Number

Number of array element

Text

New text

Handle

Window depth or handle of a split window or handle of a TREEVIEW.

 

Sample:

/* Change the text of the current Treeview item

H% = TREEVIEW_CHANGE_TEXT(EBUS_TREEVIEW, "Hello World")

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

TREEVIEW

TREEVIEW_CHANGE_IMAGE

EBUS_TREEVIEW

EBUS_TREEVIEW$