Skip to content

BeforeLabelEdit Event

Description

Occurs when the user starts editing the label of an item.

Syntax

Public Event BeforeLabelEdit( _
    ByRef Cancel As Integer _
)

Parameters

  • Cancel: An integer that determines if the operation is canceled. Any nonzero integer cancels the operation. The default is 0.

Remarks

The BeforeLabelEdit event occurs when the user begins modifying the text for an item. If the event handler cancels this event, the user cannot edit the text. You can use this event to prevent the user from editing specific items in the ListView control. If the LabelEdit property of the ListView control is set to false, the BeforeLabelEdit event is not raised; all user attempts to edit item labels are automatically rejected.

See Also

ListView Control


See Also Suite Pro Controls ActiveX Control v24.0


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