PPJ Desktop API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Runtime.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
    • Controls
      • SalActiveX
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
        • BorderStyle
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
        • LineStyle
        • LineType
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTableWindow
        • CellType
        • FocusRowStyle
        • RowsSizingStyle
        • SalTableColumn
        • SalTableColumnCollection
        • SalTableRow
        • SalTableRowCollection
        • SalTableWindowBase
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
      • SalRibbonStatusBar
    • Interfaces
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalType
      • ISalAccessory
      • ISalMenu
      • ISalWindow
    • Internet
      • FtpEventArgs
      • FtpEventHandler
      • HttpEventArgs
      • HttpEventHandler
      • SalFtpClient
      • SalHttpClient
      • SalQuickFTP
      • SalQuickHTTP
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuColumn
      • SalMenuItem
      • SalMenuRow
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • QO
      • SalQuickHTML
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
      • SalQuickToolTipCheckBox
      • SalQuickToolTipChildTable
      • SalQuickToolTipComboBox
      • SalQuickToolTipDataField
      • SalQuickToolTipHScrollBar
      • SalQuickToolTipListBox
      • SalQuickToolTipMultilineField
      • SalQuickToolTipOptionButton
      • SalQuickToolTipPicture
      • SalQuickToolTipPushButton
      • SalQuickToolTipRadioButton
      • SalQuickToolTipTableWindow
      • SalQuickToolTipVScrollBar
      • SalToolTipManager
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Runtime.DDE.49
    • General
      • SalDDE
  • PPJ.Runtime.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisColorPalette
      • VisColorPaletteBase
      • VisColorPaletteDropDown
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisRichEdit
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Runtime.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSeparator
      • XSalSeparatorDoubleRaised
      • XSalSeparatorEtched
      • XSalSeparatorInvisible
      • XSalSeparatorSingleRaised
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • VisListViewDropDown()
  • Methods
  • AddImage(hpicLarge, hpicSmall)
  • Arrange(nCode)
  • AssignColumns(saTitles, naAlignments, naWidths, nNumColumns)
  • DeleteAllItems()
  • DeleteItem(nItem)
  • EnsureVisible(nItem, fPartialOK)
  • FindItem(nFlags, sItemText, nItemStart)
  • FromHandle(handle)
  • GetAllSelectedItems(naSelections)
  • GetBkColor()
  • GetColumn(nColumn, sTitle, nAlignment, nWidth)
  • GetColumnAlignment(nColumn)
  • GetColumnTitle(nColumn)
  • GetColumnWidth(nColumn)
  • GetCountPerPage()
  • GetEditable()
  • GetFocusItem()
  • GetImageCount()
  • GetItem(nItem, nSubItem, sItemText, nItemValue, nImage)
  • GetItemCount()
  • GetItemPosition(nItem, ptPosition)
  • GetItemRect(nItem, rcItem, nCode)
  • GetItemState(nItem, nMask)
  • GetItemText(nItem, nSubItem)
  • GetItemValue(nItem)
  • GetNextItem(nItem, nFlags)
  • GetOrigin(ptOrigin)
  • GetSelectedCount()
  • GetSelectedItem()
  • GetSortColumn()
  • GetSortOrder()
  • GetStringWidth(sCompare)
  • GetStyle()
  • GetTextBkColor()
  • GetTextColor()
  • GetTopIndex()
  • GetViewRect(rcView)
  • HitTest(ptTest, nFlags)
  • HitTest(nX, nY, nFlags)
  • InsertDetails(nItem, saText, nImage)
  • InsertDetailsPic(nItem, saText, hpicLarge, hpicSmall)
  • InsertDetailsValue(nItem, saText, nItemValue, nImage)
  • InsertDetailsValuePic(nItem, saText, nItemValue, hpicLarge, hpicSmall)
  • InsertItem(nItem, sText, nImage)
  • InsertItemPic(nItem, sText, hpicLarge, hpicSmall)
  • InsertItemValue(nItem, sText, nItemValue, nImage)
  • InsertItemValuePic(nItem, sText, nItemValue, hpicLarge, hpicSmall)
  • RemoveAllImages()
  • RemoveImage(nIndex)
  • ReplaceImage(nIndex, hpicLarge, hpicSmall)
  • Scroll(size)
  • SetBkColor(nNewColor)
  • SetColumn(nColumn, nMask, sTitle, nAlignment, nWidth)
  • SetColumnAlignment(nColumn, nAlignment)
  • SetColumnTitle(nColumn, sTitle)
  • SetColumnWidth(nColumn, nWidth)
  • SetEditable(fEditable)
  • SetFocusItem(nItem)
  • SetItem(nItem, nSubItem, nMask, sItemText, nItemValue, nImage)
  • SetItemPosition(nItem, ptPosition)
  • SetItemState(nItem, nNewState, nStateMask)
  • SetItemText(nItem, nSubItem, sItemText)
  • SetItemValue(nItem, nItemValue)
  • SetListSize(nWidth, nHeight)
  • SetSortColumn(nColumn)
  • SetSortOrder(nOrder)
  • SetStyle(nStyle, fOn)
  • SetTextBkColor(nNewColor)
  • SetTextColor(nNewColor)
  • SortItems()
  • ViewDetails()
  • ViewLargeIcons()
  • ViewList()
  • ViewSmallIcons()
  • Implements
  1. PPJ.Runtime.Vis.49
  2. Controls

VisListViewDropDown

PPJ.Runtime.Vis.VisListViewDropDown

PreviousVisListViewNextVisMeter

Last updated 2 years ago

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)

Combo box with drop down cListView

public class VisListViewDropDown : VisDropDownBase
Public Class VisListViewDropDown
    Inherits VisDropDownBase

Constructors

VisListViewDropDown()

Constructor

Methods

AddImage(hpicLarge, hpicSmall)

Adds an image to control's internal ImageLists at the index specified.

Parameter
Type
Description

hpicLarge

hpicSmall

Returns: .

Arrange(nCode)

Aligns items on a grid.

Parameter
Type
Description

nCode

Assigns columns to be used for 'details' view. TIP: You can reassign columns on the fly without having to repopulate the control. For instance, you can use SetItemText() to add four subitems to an item, but only assign four columns (remember: 1 item + 4 subitems = 5 columns,) thus giving you a hidden column that you can display later by assigning five columns.

Parameter
Type
Description

saTitles

naAlignments

naWidths

nNumColumns

Removes all items from the control.

Removes an item from control and returns count of remaining items.

Parameter
Type
Description

nItem

Ensures that an item is visible

Parameter
Type
Description

nItem

fPartialOK

Searches for an item by text or position.

Parameter
Type
Description

nFlags

sItemText

nItemStart

Returns the control associated with the handle.

Parameter
Type
Description

handle

Retrieves array of all selected items and returns count.

Parameter
Type
Description

naSelections

Retrieves the color used for the control's overall background.

Parameter
Type
Description

nColumn

sTitle

nAlignment

nWidth

Parameter
Type
Description

nColumn

Retrieves a column's text.

Parameter
Type
Description

nColumn

Retrieves a column's width.

Parameter
Type
Description

nColumn

Calculates the number of items that can fit vertically in control.

Retrieves index of item with input focus.

Retrieves the number of images in control. TIP: Remember that a listview defaults to one image (Windows logo) unless you remove/replace it.

Parameter
Type
Description

nItem

nSubItem

sItemText

nItemValue

nImage

Retrieves the number of items in control.

Retrieves the position of an item.

Parameter
Type
Description

nItem

ptPosition

Retrieves the bounding rectangle for an item.

Parameter
Type
Description

nItem

rcItem

nCode

Retrieves an item's state.

Parameter
Type
Description

nItem

nMask

Retrieves an item's text.

Parameter
Type
Description

nItem

nSubItem

Retrieves an item's user data.

Parameter
Type
Description

nItem

Searches for an item by sequence, relation or state.

Parameter
Type
Description

nItem

nFlags

Retrieves the current view origin for control.

Parameter
Type
Description

ptOrigin

Retrieves the number of selected items in control.

Retrieves default sort column (subitem.)

Retrieves default sort order (ascending/descending)

Determines the minimum column width necessary to display all of a given string.

Parameter
Type
Description

sCompare

Retrieves current style bits for control.

Retrieves the color used for item and subitem text background.

Retrieves the color used for item and subitem text.

Retrieves the index of the topmost visible item.

Retrieves the bounding rectangle of all items in the control.

Parameter
Type
Description

rcView

Parameter
Type
Description

ptTest

nFlags

Parameter
Type
Description

nX

nY

nFlags

Inserts a new item into control and supplies subitem text for item. TIP: Use this instead of the InsertItem*() functions to specify items with multiple columns in one function call when you already have your data populated in an array.

Parameter
Type
Description

nItem

saText

nImage

Inserts a new item in control, copies picture into control and uses copy for new item. TIP: You should use AddImage() & InsertDetails() where possible to avoid duplicate images being stored.

Parameter
Type
Description

nItem

saText

hpicLarge

hpicSmall

Inserts a new item into control and supplies subitem text for item; also assigns user data for item.

Parameter
Type
Description

nItem

saText

nItemValue

nImage

Inserts a new item into control and supplies subitem text for item; also assigns user data for item. TIP: You should use AddImage() and InsertDetailsValue() where possible to avoid duplicate images being stored.

Parameter
Type
Description

nItem

saText

nItemValue

hpicLarge

hpicSmall

Inserts an item in control and returns index of new item or -1 if unsuccessful. TIP: Do not assume that the item you add with InsertItem() is given the index you requested; InsertItem() returns the actual index of the item added. If you insert past the upper bound of the control, your item is added to the end.

Parameter
Type
Description

nItem

sText

nImage

Inserts a new item in control, copies picture into control and uses copy for new item. Returns index of new item or -1 if unsuccessful. TIP: You should use AddImage() and InsertItem() where possible to avoid duplicate images being stored.

Parameter
Type
Description

nItem

sText

hpicLarge

hpicSmall

Inserts a new item in control and assigns user data for item. Returns index of new item or -1 if unsuccessful.

Parameter
Type
Description

nItem

sText

nItemValue

nImage

Inserts a new item in control, copies picture into control and uses copy for new item. Also assigns user data for item. Returns index of new item or -1 if unsuccessful. TIP: You should use AddImage() and InsertItemValue() where possible to avoid duplicate images being stored.

Parameter
Type
Description

nItem

sText

nItemValue

hpicLarge

hpicSmall

Removes all images from control.

Removes an image from control's internal ImageLists. TIP: All other images will shift downward when you remove an image from the control. Bear in mind that this will affect the images each item displays, since images are references by position.

Parameter
Type
Description

nIndex

Replaces an image in control's internal ImageLists.

Parameter
Type
Description

nIndex

hpicLarge

hpicSmall

Scrolls the contents of control.

Parameter
Type
Description

size

Assigns the color used for the control's overall background.

Parameter
Type
Description

nNewColor

Sets the attributes of a column.

Parameter
Type
Description

nColumn

nMask

sTitle

nAlignment

nWidth

Parameter
Type
Description

nColumn

nAlignment

Sets a column's text.

Parameter
Type
Description

nColumn

sTitle

Sets a column's width.

Parameter
Type
Description

nColumn

nWidth

Parameter
Type
Description

fEditable

Assigns focus to the specified item.

Parameter
Type
Description

nItem

Sets an item's attributes.

Parameter
Type
Description

nItem

nSubItem

nMask

sItemText

nItemValue

nImage

Moves an item to a specified position in control.

Parameter
Type
Description

nItem

ptPosition

Assigns an item's state (LVIS_Focused, LVIS_Selected, etc..)

Parameter
Type
Description

nItem

nNewState

nStateMask

Sets an item's or subitem's text. TIP: When using this function to assign subitem text for new items, do not assume that the item you just added with InsertItem() was given the index you requested; InsertItem() returns the actual index of the item, use that value.

Parameter
Type
Description

nItem

nSubItem

sItemText

Assigns an item's user data.

Parameter
Type
Description

nItem

nItemValue

Parameter
Type
Description

nWidth

nHeight

Assigns default column (subitem) to sort on.

Parameter
Type
Description

nColumn

Assigns default sort order (LVSORT_Ascending/LVSORT_Descending.)

Parameter
Type
Description

nOrder

Sets style bits for control.

Parameter
Type
Description

nStyle

fOn

Assigns the color used for item and subitem text background.

Parameter
Type
Description

nNewColor

Assigns the color used for item and subitem text.

Parameter
Type
Description

nNewColor

Sorts the items based on default column (subitem) and order settings.

Tells control to display 'details' view.' This view is similar to the 'small icon' view, with the exception that subitem text is also displayed in resizeable, sortable columns to the right of the item text. NOTE: Clicking on subitem text does NOT change focus,

Tells control to display 'large icons' view. This view is similar to Windows' program manager groups; a large icon is displayed with the item text underneath.

Tells control to display 'list' view. This view is similar to the 'small icon' view, with the exception that rather than exceed the vertical display space, the list is broken into multiple screens, or 'columns.'

Tells control to display 'small icons' view. This view is a vertical list of item text with a small icon to the left of each item.

Implements

Name
Description

Returns: .

AssignColumns(saTitles, naAlignments, naWidths, nNumColumns)

Returns: .

DeleteAllItems()

Returns: .

DeleteItem(nItem)

Returns: .

EnsureVisible(nItem, fPartialOK)

Returns: .

FindItem(nFlags, sItemText, nItemStart)

Returns: .

FromHandle(handle)

Returns: .

GetAllSelectedItems(naSelections)

Returns: .

GetBkColor()

Returns: .

GetColumn(nColumn, sTitle, nAlignment, nWidth)

Returns: .

GetColumnAlignment(nColumn)

Returns: .

GetColumnTitle(nColumn)

Returns: .

GetColumnWidth(nColumn)

Returns: .

GetCountPerPage()

Returns: .

GetEditable()

Returns: .

GetFocusItem()

Returns: .

GetImageCount()

Returns: .

GetItem(nItem, nSubItem, sItemText, nItemValue, nImage)

Returns: .

GetItemCount()

Returns: .

GetItemPosition(nItem, ptPosition)

Returns: .

GetItemRect(nItem, rcItem, nCode)

Returns: .

GetItemState(nItem, nMask)

Returns: .

GetItemText(nItem, nSubItem)

Returns: .

GetItemValue(nItem)

Returns: .

GetNextItem(nItem, nFlags)

Returns: .

GetOrigin(ptOrigin)

Returns: .

GetSelectedCount()

Returns: .

GetSelectedItem()

Returns: .

GetSortColumn()

Returns: .

GetSortOrder()

Returns: .

GetStringWidth(sCompare)

Returns: .

GetStyle()

Returns: .

GetTextBkColor()

Returns: .

GetTextColor()

Returns: .

GetTopIndex()

Returns: .

GetViewRect(rcView)

Returns: .

HitTest(ptTest, nFlags)

Returns: .

HitTest(nX, nY, nFlags)

Returns: .

InsertDetails(nItem, saText, nImage)

Returns: .

InsertDetailsPic(nItem, saText, hpicLarge, hpicSmall)

Returns: .

InsertDetailsValue(nItem, saText, nItemValue, nImage)

Returns: .

InsertDetailsValuePic(nItem, saText, nItemValue, hpicLarge, hpicSmall)

Returns: .

InsertItem(nItem, sText, nImage)

Returns: .

InsertItemPic(nItem, sText, hpicLarge, hpicSmall)

Returns: .

InsertItemValue(nItem, sText, nItemValue, nImage)

Returns: .

InsertItemValuePic(nItem, sText, nItemValue, hpicLarge, hpicSmall)

Returns: .

RemoveAllImages()

Returns: .

RemoveImage(nIndex)

Returns: .

ReplaceImage(nIndex, hpicLarge, hpicSmall)

Returns: .

Scroll(size)

Returns: .

SetBkColor(nNewColor)

Returns: .

SetColumn(nColumn, nMask, sTitle, nAlignment, nWidth)

Returns: .

SetColumnAlignment(nColumn, nAlignment)

Returns: .

SetColumnTitle(nColumn, sTitle)

Returns: .

SetColumnWidth(nColumn, nWidth)

Returns: .

SetEditable(fEditable)

Returns: .

SetFocusItem(nItem)

Returns: .

SetItem(nItem, nSubItem, nMask, sItemText, nItemValue, nImage)

Returns: .

SetItemPosition(nItem, ptPosition)

Returns: .

SetItemState(nItem, nNewState, nStateMask)

Returns: .

SetItemText(nItem, nSubItem, sItemText)

Returns: .

SetItemValue(nItem, nItemValue)

Returns: .

SetListSize(nWidth, nHeight)

Returns: .

SetSortColumn(nColumn)

Returns: .

SetSortOrder(nOrder)

Returns: .

SetStyle(nStyle, fOn)

Returns: .

SetTextBkColor(nNewColor)

Returns: .

SetTextColor(nNewColor)

Returns: .

SortItems()

Returns: .

ViewDetails()

Returns: .

ViewLargeIcons()

Returns: .

ViewList()

Returns: .

ViewSmallIcons()

Returns: .

SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalNumber
VisListViewDropDown
SalNumber
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalArray<SalString>
SalArray<SalNumber>
SalArray<SalNumber>
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalWindowHandle
SalArray<SalNumber>
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber
VisPoint
SalNumber
VisRect
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
VisPoint
SalString
VisRect
VisPoint
SalNumber&
SalNumber
SalNumber
SalNumber&
SalNumber
SalArray<SalString>
SalNumber
SalNumber
SalArray<SalString>
SalNumber
SalNumber
SalNumber
SalArray<SalString>
SalNumber
SalNumber
SalNumber
SalArray<SalString>
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
VisSize
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
VisPoint
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
ISalControl
ISalEditControl
ISalListControl
ISalWindow
SalNumber