Table of Contents

TTMSFNCLabelEdit Class

Inline label that lets the user edit its text in-place by clicking, with accept and cancel buttons.

API unit family: TMSFNCLabelEdit Inherits from: TTMSFNCCustomLabelEdit

Syntax

TTMSFNCLabelEdit = class(TTMSFNCCustomLabelEdit)

Properties

Name Description
AcceptButton Provides direct access to the accept button image control. (inherited from TTMSFNCCustomLabelEdit)
AcceptButtonStroke Stroke style used to draw the accept (checkmark) button. (inherited from TTMSFNCCustomLabelEdit)
CancelButton Provides direct access to the cancel button image control. (inherited from TTMSFNCCustomLabelEdit)
CancelButtonStroke Stroke style used to draw the cancel (cross) button. (inherited from TTMSFNCCustomLabelEdit)
Edit Provides direct access to the inline edit field control. (inherited from TTMSFNCCustomLabelEdit)
EditMode When True, the inline edit field is visible and active; set to False to commit or cancel. (inherited from TTMSFNCCustomLabelEdit)
Editable When True, clicking the label activates inline editing; when False, the label is read-only. (inherited from TTMSFNCCustomLabelEdit)

Events

Name Description
OnAccept Fires when the user confirms the edited value. (inherited from TTMSFNCCustomLabelEdit)
OnCancel Fires when the user cancels the edit, restoring the previous value. (inherited from TTMSFNCCustomLabelEdit)
OnEditEnd Fires when the control leaves edit mode. (inherited from TTMSFNCCustomLabelEdit)
OnEditExit Fires when the inline edit field loses focus. (inherited from TTMSFNCCustomLabelEdit)
OnEditKeyDown Fires on a key-down event while the inline edit field is active. (inherited from TTMSFNCCustomLabelEdit)
OnEditStart Fires when the control enters edit mode. (inherited from TTMSFNCCustomLabelEdit)

Used by