Programmieren mit dBASE PLUS: Events: onEditLabel

Aus Wikibooks
Zur Navigation springen Zur Suche springen
Zurück zu Events | Hoch zu Regal EDV | Vor zu Inhaltsverzeichnis

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


<text expC>

The not-yet-posted text label.

Eigenschaft von[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.