Zum Inhalt springen

Programmieren mit dBASE PLUS: Events: onEditLabel

Aus Wikibooks


Event fired after the text label in a tree item is edited; may optionally return a different label value to save.

Parameter

[Bearbeiten]

<text expC>

The not-yet-posted text label.

Eigenschaft von

[Bearbeiten]

TreeView

Beschreibung

[Bearbeiten]

onEditLabel fires after the user has pressed Enter or clicked away to submit their label change.

If the onEditLabel event handler returns a character string, that string is saved as the text property of the tree item instead of <text expC>. If the event handler returns any other type, or returns nothing, <text expC> is used as-is.