Table of Contents

TMS FNC Label Edit User Guide

TTMSFNCLabelEdit displays text as a read-only label and switches into an inline text editor on demand. Configurable accept and cancel buttons let users confirm or discard changes, with separate events for each outcome — use it for in-place rename or edit-on-click patterns.

Topics

Topic Use when
In-place editing You need a label that can switch into an editor and commit or cancel changes.

Key properties

Property Purpose
Text The text value shown in label mode and edited in editor mode.
InEdit True while the editor is active; set to True to enter edit mode programmatically.
ShowAcceptButton / ShowCancelButton Show or hide the confirm and discard action buttons.
AcceptButtonText / CancelButtonText Labels on the accept and cancel buttons.
Appearance Fill, stroke, and font for the label and editor states.
OnLabelAccept Fires when the user confirms the edit (supplies the new text).
OnLabelCancel Fires when the user cancels the edit.

See also