Zum Inhalt springen

Programmieren mit dBASE PLUS: Events: canEditLabel

Aus Wikibooks


Event fired when attempting to edit text label; return value determines if editing is allowed.

Parameter

[Bearbeiten]

none

Eigenschaft von

[Bearbeiten]

TreeView

Beschreibung

[Bearbeiten]

Use canEditLabel to conditionally allow editing of a tree item’s text label. The canEditLabel event handler can either return true to allow editing, or false to prevent it.

Set allowEditLabels to false to prevent all label editing. In that case, canEditLabel will never fire.