Skip to content

AfterLabelEdit Event

Description

Occurs when the label for an item is edited by the user.

Syntax

Public Event AfterLabelEdit( _
    ByRef Cancel As Integer, _
    ByRef NewString As String _
)

Parameters

  • Cancel: An integer that determines if the label editing operation is canceled. Any nonzero integer cancels the operation. Boolean values are also accepted.
  • NewString: The string the user entered, or Null if the user canceled the operation.

Remarks

The AfterLabelEdit event occurs when the user finishes modifying the text for an item. The new string that the user types for the item is passed to the event, and the event handler can reject the change. If the event handler rejects the change, the text reverts to the text as it was before the user began editing the item.

You can create an event handler for the BeforeLabelEdit event to perform tasks before the user edits the text of an item.

See Also


See Also Suite Pro Controls ActiveX Control v24.0


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.