Skip to content

SelectedChanged Event

Description

The SelectedChanged event occurs when a tab in the TabWorkspace is selected.

Syntax

Public Event SelectedChanged( _
    ByVal Item As [TabControlItem](XtremeCommandBars~TabControlItem.md) _
)

Parameters

Remarks

The SelectedChanged event occurs when the tab selection has changed in the TabWorkspace. If a tab that is currently selected is clicked, then the SelectedChanged event will not occur.

Example

This sample illustrates how to use the SelectedChanged event to determine when a tab is selected in the TabWorkspace (Visual Basic):

Private Sub Workspace_SelectedChanged(ByVal Item As XtremeCommandBars.ITabControlItem)  
    Debug.Print "Currently Selected Tab: " & Item.Caption  
End Sub

See Also


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