Skip to content

BeforeItemClick Event

Description

Occurs when a tab button is clicked, but before the click message is processed by the CommandBars.

Syntax

Public Event BeforeItemClick( _
    ByVal Item As TabControlItem, _
    ByRef Cancel As Variant _
)

Parameters

  • Item: Reference to the TabControlItem that was clicked.
  • Cancel: Set to True to cancel the click operation.

Remarks

The BeforeItemClick event occurs when a tab button is clicked, but before the click message is processed by the CommandBars. This will notify you when a tab button is clicked as well as give you the opportunity to cancel the click.

See Also


See Also


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