Skip to main content

ISalListControl

Namespace: PPJ.Runtime

Assembly: PPJ.Runtime.49 (4.9.0.0)

SAL List controls implement this interface.

public interface ISalListControl

Properties

Instance memberCount

Int32: Returns the total number of items in the list.

Instance memberItem(index)

Object: Returns the item at the specified index.

Instance memberItems

IList: Returns the collection of items.

Instance memberSelectedIndex

Int32: Returns/Sets the index of the currently selected item.

Instance memberSelectedIndices

Int32[]: Returns the indices of the selected items.

Instance memberSelectedItem

Object: Returns/Sets the currently selected item.

Instance memberSelectionMode

SelectionMode: Returns/Sets the selection mode.

Methods

Instance memberAdd(item)

Adds an item to the list.

ParameterTypeDescription
itemObject

Returns: Int32.

Instance memberAddRange(items)

Adds a collection of items to the list.

ParameterTypeDescription
itemsObject[]

Instance memberClear()

Clears the list.

Instance memberDelete(index)

Deletes the item at the index.

ParameterTypeDescription
indexInt32

Returns: Int32.

Instance memberFind(item)

Finds the item in the list.

ParameterTypeDescription
itemObject

Returns: Int32.

Instance memberFindString(text, startIndex)

Finds the item in the list.

ParameterTypeDescription
textString
startIndexInt32

Returns: Int32.

Instance memberFindStringExact(text, startIndex)

Finds the item in the list.

ParameterTypeDescription
textString
startIndexInt32

Returns: Int32.

Instance memberInsert(index, item)

Inserts the items at the specified position.

ParameterTypeDescription
indexInt32
itemObject

Returns: Int32.

Instance memberIsSelected(index)

Tests if the item at the specified index is selected.

ParameterTypeDescription
indexInt32

Returns: Boolean.

Instance memberSetSelected(index, selected)

Selects/Deselects the specified item.

ParameterTypeDescription
indexInt32
selectedBoolean

Instance memberUpdateItem(index)

Updates the item.

ParameterTypeDescription
indexInt32

Implemented By

NameDescription
SalComboBoxComboBox implementation.
SalListBoxListBox implementation.
SalTableColumnSummary description for SalTableColumn.
SalQuickToolTipComboBoxComboBox with tool tip support
SalQuickToolTipListBoxList box with tool tip support
VisColorComboBox
VisColorListBox
VisColorPaletteDropDown
VisComboBoxBase
VisDesktopListBox
VisDirListBox
VisDirTreeListBox
VisDriveListBox
VisDropDownBase
VisFileListBox
VisFontComboBox
VisFontListBox
VisFontNameComboBox
VisFontNameListBox
VisListBoxBase
VisListViewDropDown
VisOutlineComboBox
VisOutlineListBox
VisPictureComboBox
VisPictureListBox
VisRadioListBox