Programmieren mit dBASE PLUS: Events: onEditLabel

Aus Wikibooks
Zur Navigation springen Zur Suche springen
Wikibooks buchseite.svg Zurück zu Events | One wikibook.svg Hoch zu Regal EDV | Wikibooks buchseite.svg Vor zu Inhaltsverzeichnis


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.