Skip to content

ButtonClicked Event

Description

Occurs when a user selects a button or command link in the task dialog.

Syntax

Public Event ButtonClicked( _
    ByVal Id As Long, _
    ByRef CloseDialog As Variant _
)

Parameters

  • Id: The ID corresponding to the button selected.
  • CloseDialog: Set to True if the task dialog should close.

Remarks

The illustrations below show some of the buttons that trigger the ButtonClicked event when clicked:

Custom Buttons

Using Command Links

See Also


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