combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / ViewerButtonClicked Event


In This Topic
    ViewerButtonClicked Event
    In This Topic

    This event is triggered when a button in the preview window is clicked. Here, you have the option to implement the corresponding function by yourself or accept the regular List & Label behavior.

    Syntax
    'Declaration
     
    
    Public Event ViewerButtonClicked As ViewerButtonClickedHandler
    public event ViewerButtonClickedHandler ViewerButtonClicked
    public:
    event ViewerButtonClickedHandler^ ViewerButtonClicked
    Event Data

    The event handler receives an argument of type ViewerButtonClickedEventArgs containing data related to this event. The following ViewerButtonClickedEventArgs properties provide information specific to this event.

    PropertyDescription
     

    ID of the toolbar element. See menuid.txt for a list of possible IDs.

     

    If the property is set to true, List & Label does not process the requested functionality.

     

    Access to the viewer window, the property Handle returns the window handle.

     
    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also