Skip to content

ItemClick Event

Description

Occurs when an item is clicked in the list box.

Syntax

Public Event ItemClick( _
    ByVal Item As CommandBarGalleryItem _
)

Parameters

Remarks

The ItemClick event occurs when an item is clicked in the list box. Use it to get a reference to the CommandBarGalleryItem that was clicked.

Example

Private Sub RecentFileListBox_ItemClick(ByVal Item As XtremeCommandBars.ICommandBarGalleryItem)  
    Dim BackstageView As RibbonBackstageView  

    Set BackstageView = frmMain.RibbonBar.SystemButton.CommandBar  
    BackstageView.Close  

    frmMain.OpenDocument Item.Caption
End Sub

See Also


See Also | | Command Bars ActiveX Control v24.0 | | | | | | | |


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