Skip to content

SingleSelection Property

Description

The SingleSelection property specifies whether only one item can be selected in the Task Panel at a time.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property SingleSelection() As Boolean

Remarks

Set SingleSelection to TRUE to specify that only a single item can be selected or have focus. If SingleSelection is TRUE, then only one item can be selected, regardless of behaviour, theme, and hot tracking style.

Set SingleSelection to FALSE to specify that one or more items can be selected at the same time. An item in each group can be selected when the TaskPanel behaviour is xtpTaskPanelBehaviourExplorer. Multiple items can also be selected when using toggle buttons. Toggle buttons can be implemented by setting the selected property of items.

Example

SingleSelection Sample (Visual Basic): This sample illustrates how to specify that only a single item can be selected or have focus in the Task Panel.

' Specifies that only a single item can be selected or have focus in the Task Panel.  
wndToolBox.SingleSelection = True

See Also


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