<<

Contents

Search

>>

 

TREEVIEW_EDIT_TEXT

 

 

Function

 

 

Syntax:

TREEVIEW_EDIT_TEXT(<Item Number>[,<Handle>])

 

<Item Number>

= <NUM-EXPRESSION>

<Handle>

= <NUM-EXPRESSION>

 

Meaning:

Edits the text of a TREEVIEW item.

 

Editing texts is also possible if the parameter <Edit> = 0 has been specified with TREEVIEW.

 

TREEVIEW_EDIT_TEXT returns the result 0 if no error occurred, otherwise an error number (read TREEVIEW).

 

After the editing of the text the ON TREEVIEW_EDIT MACRO is executed.

 

Parameter:

Element Number

Number of array element

Handle

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

 

Sample:

/* Edit the text of the current Treeview item

H% = TREEVIEW_EDIT_TEXT(EBUS_TREEVIEW)

IF H% <> 0

THEN ... Error ...

ENDIF

 

See also:

TREEVIEW

TREEVIEW_CHANGE_TEXT

EBUS_TREEVIEW

EBUS_TREEVIEW$

ON TREEVIEW_EDIT MACRO