PPJ Web API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Web.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
      • stdole_Font
      • stdole_Picture
      • stdole_StdFont
      • stdole_StdPicture
    • Controls
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTimer
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
    • Interfaces
      • ISalType
      • ISalAccessory
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalListItem
      • ISalMenu
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalWindow
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuItem
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Web.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveComboBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Web.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • VisListBoxExtension(derived)
  • Fields
  • Methods
  • AddColor(sText, nColor)
  • AddColorValue(sText, nColor, nValue)
  • AddFont(sText, hFont)
  • AddFontValue(sText, hFont, nValue)
  • AddPicture(sText, hPicNormal, hPicSelected)
  • AddPictureValue(sText, hPicNormal, hPicSelected, nValue)
  • Collapse(nIndex)
  • DeleteChild(nIndex)
  • DeleteDescendents(nIndex)
  • Demote(nIndex, hPicNormal, hPicSelected)
  • DisableItem(nIndex, nColor)
  • DoDragDrop(nSourceIndex, target, nTargetIndex, nDropMode)
  • EnableItem(nIndex, nColor)
  • EnumChildren(hItem, hItems)
  • EnumDescendents(hItem, hItems)
  • Expand(nIndex)
  • ExpandDescendents(nIndex)
  • FindItemValue(hItem, nValue)
  • FreeChild(hItem)
  • FreeDescendents(hItem)
  • FromHandle(hWnd)
  • FromItemHandle(handle)
  • GetColor(nIndex)
  • GetFlags(nIndex)
  • GetFont(nIndex)
  • GetItemColor(hItem)
  • GetItemData(hItem, sText, nValue, nItemFlags)
  • GetItemFlags(hItem)
  • GetItemFont(hItem)
  • GetItemHandle(nIndex)
  • GetItemIndex(hItem)
  • GetItemPicture(hItem, hPicNormal, hPicSelected)
  • GetItemText(hItem)
  • GetItemValue(hItem)
  • GetLevel(hItem)
  • GetNextSibling(hItem)
  • GetParent(hItem)
  • GetPicture(nIndex, hPicNormal, hPicSelected)
  • GetPrevSibling(hItem)
  • GetRoot()
  • GetStyle()
  • InsertColor(nIndex, sText, nColor)
  • InsertColorValue(nIndex, sText, nColor, nValue)
  • InsertFont(nIndex, sText, hFont)
  • InsertFontValue(nIndex, sText, hFont, nValue)
  • InsertPicture(nIndex, sText, hPicNormal, hPicSelected)
  • InsertPictureValue(nIndex, sText, hPicNormal, hPicSelected, nValue)
  • LoadChild(hItem, hPicNormal, hPicSelected, sText, nValue, nItemFlags)
  • LoadChildren(hItem, hPicNormal, hPicSelect, sTexts, nValues, nItemFlags)
  • LoadOutline(xml)
  • LoadOutlineFile(sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect)
  • LoadSibling(hItemBefore, hPicNormal, hPicSelected, sText, nValue, nItemFlags)
  • MoveDown(nIndex)
  • MoveUp(nIndex)
  • Promote(nIndex, hPicNormal, hPicSelected)
  • SaveOutline(xml)
  • SetColor(nIndex, nColor)
  • SetFlags(nIndex, nFlags, bState)
  • SetFont(nIndex, hFont)
  • SetItemColor(hItem, nColor)
  • SetItemData(hItem, sText, nValue, nItemFlags)
  • SetItemFlags(hItem, nFlags, bState)
  • SetItemFont(hItem, hFont)
  • SetItemPicture(hItem, hPicNormal, hPicSelected)
  • SetItemText(hItem, sText)
  • SetItemValue(hItem, nValue)
  • SetOutlineRedraw(bRedraw)
  • SetPicture(nIndex, hPicNormal, hPicSelected)
  • SetStyle(nStyle)
  • ShowOutline(nLevel)
  • Implements
  1. PPJ.Web.Vis.49
  2. Controls

VisListBoxExtension

PPJ.Runtime.Vis.VisListBoxExtension

PreviousVisListBoxBaseNextVisListView

Last updated 2 years ago

Namespace: PPJ.Runtime.Vis

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

Common listbox extension class

public class VisListBoxExtension : SalGeneralWindow
Public Class VisListBoxExtension
    Inherits SalGeneralWindow

Constructors

VisListBoxExtension(derived)

Multiple Inheritance Constructor

Name
Type
Description

derived

Fields

Name
Type
Description

hFont

hItem

hPicNormal

hPicSelect

nColor

nFlags

nIdx

nIndex

nItemFlags

nLevel

nStyle

nValue

sText

Methods

Adds an item to the list and displays it in the specified color.

Parameter
Type
Description

sText

nColor

Adds an item to the list, displays it in the specified color and associates the specified value with the item.

Parameter
Type
Description

sText

nColor

nValue

Adds an item to the list control and displays it in the specified font.

Parameter
Type
Description

sText

hFont

Adds a new item with the specified font and value.

Parameter
Type
Description

sText

hFont

nValue

Adds an item to the list control and specified an image for the normal and selected state.

Parameter
Type
Description

sText

hPicNormal

hPicSelected

Adds an item to the list control and specified an image for the normal and selected state, and a value to associate with the item.

Parameter
Type
Description

sText

hPicNormal

hPicSelected

nValue

Collapses all descendant items.

Parameter
Type
Description

nIndex

Deletes the child item from the tree control.

Parameter
Type
Description

nIndex

Deletes all descendants (children, grandchildren, and so on) of the specified child.

Parameter
Type
Description

nIndex

Moves an item and all descendants right in the outline by making the item become the last child of the previous sibling. If the new parent node was not already a parent, the images are also updated. Otherwise the images are ignored.

Parameter
Type
Description

nIndex

hPicNormal

hPicSelected

Disables the specified item.

Parameter
Type
Description

nIndex

nColor

Moves the source item to the new location, providing support for dragging tree items.

Parameter
Type
Description

nSourceIndex

target

nTargetIndex

nDropMode

Enables the specified item.

Parameter
Type
Description

nIndex

nColor

Enumerates child item handles for a specified item.

Parameter
Type
Description

hItem

hItems

Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.

Parameter
Type
Description

hItem

hItems

Expands an outline one level at the index specified.

Parameter
Type
Description

nIndex

Displays all descendants of an item.

Parameter
Type
Description

nIndex

Finds the item with the specified value in the descendants of the specified node.

Parameter
Type
Description

hItem

nValue

Frees memory for the item specified and for all its descendants.

Parameter
Type
Description

hItem

Frees memory for all descendants of the item specified.

Parameter
Type
Description

hItem

Fully qualified expressions operator.

Parameter
Type
Description

hWnd

Returns the instance of VisListBoxExtension from the item handle.

Parameter
Type
Description

handle

Returns the current color of the list item.

Parameter
Type
Description

nIndex

Returns the item's flags.

Parameter
Type
Description

nIndex

Returns the current font of the list control item.

Parameter
Type
Description

nIndex

Retrieves the color associated with an outline item.

Parameter
Type
Description

hItem

Parameter
Type
Description

hItem

sText

nValue

nItemFlags

Returns the items's flags.

Parameter
Type
Description

hItem

Retrieves the font associated with an outline item.

Parameter
Type
Description

hItem

Retrieves the item handle based on an index specified.

Parameter
Type
Description

nIndex

Retrieves the index associated with an outline item based on an item handle.

Parameter
Type
Description

hItem

Parameter
Type
Description

hItem

hPicNormal

hPicSelected

Returns the text for the outline item.

Parameter
Type
Description

hItem

Returns the value saved with the outline item.

Parameter
Type
Description

hItem

Returns the indentation level of the specified item.

Parameter
Type
Description

hItem

Retrieves the item handle for the next sibling of the specified item.

Parameter
Type
Description

hItem

Retrieves the item handle for the parent of the specified item.

Parameter
Type
Description

hItem

Parameter
Type
Description

nIndex

hPicNormal

hPicSelected

Retrieves the item handle for the previous sibling of the specified item.

Parameter
Type
Description

hItem

Returns the handle for the root node.

Returns the style flags for the control.

Inserts an item to the list control at the specified position and displays it in the specified color.

Parameter
Type
Description

nIndex

sText

nColor

Inserts an item to the list control at the specified position, displays it in the specified color and associates the specified value to the item.

Parameter
Type
Description

nIndex

sText

nColor

nValue

Adds an item to a list control at the specified index and displays it in the specified font.

Parameter
Type
Description

nIndex

sText

hFont

Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.

Parameter
Type
Description

nIndex

sText

hFont

nValue

Inserts an item at the specified position and specifies an image for the normal and selected state.

Parameter
Type
Description

nIndex

sText

hPicNormal

hPicSelected

Inserts an item at the specified position and specifies an image for the normal and selected state, and associates a value to the item.

Parameter
Type
Description

nIndex

sText

hPicNormal

hPicSelected

nValue

Inserts an item as the last child of the specified parent.

Parameter
Type
Description

hItem

hPicNormal

hPicSelected

sText

nValue

nItemFlags

Inserts multiple items as the last children of the specified parent item.

Parameter
Type
Description

hItem

hPicNormal

hPicSelect

sTexts

nValues

nItemFlags

Deserializes the entire outline tree from the specified XML string.

Parameter
Type
Description

xml

Loads the serialized outline structure from the file and creates the new items as children of the specified node.

Parameter
Type
Description

sFileName

hPicParentNormal

hPicParentSelect

hPicChildNormal

hPicChildSelect

Loads a new tree node as a sibling of the specified item.

Parameter
Type
Description

hItemBefore

hPicNormal

hPicSelected

sText

nValue

nItemFlags

Moves the specified item down one position in the tree.

Parameter
Type
Description

nIndex

Moves an item and its descendants up in the list.

Parameter
Type
Description

nIndex

Moves an item and its descendants left in the outline by making it the last sibling of the parent item. If the node was the only child, the images of the previous parent node are also updated, otherwise the images are ignored.

Parameter
Type
Description

nIndex

hPicNormal

hPicSelected

Parameter
Type
Description

xml

Sets the color of a list item.

Parameter
Type
Description

nIndex

nColor

Sets the item's flags.

Parameter
Type
Description

nIndex

nFlags

bState

Sets the font of the list control item.

Parameter
Type
Description

nIndex

hFont

Sets the color of the outline item.

Parameter
Type
Description

hItem

nColor

Updates the specified item.

Parameter
Type
Description

hItem

sText

nValue

nItemFlags

Sets the item's flags.

Parameter
Type
Description

hItem

nFlags

bState

Sets the font of the outline item.

Parameter
Type
Description

hItem

hFont

Assigns new bitmaps to the specified item.

Parameter
Type
Description

hItem

hPicNormal

hPicSelected

Sets the text of the outline item.

Parameter
Type
Description

hItem

sText

Sets the value associated to the outline item.

Parameter
Type
Description

hItem

nValue

Enables or disables drawing.

Parameter
Type
Description

bRedraw

Changes the normal and selected images for the specified item.

Parameter
Type
Description

nIndex

hPicNormal

hPicSelected

Sets the style flags for the control.

Parameter
Type
Description

nStyle

Expands list items up to the specified level.

Parameter
Type
Description

nLevel

Implements

Name
Description

AddColor(sText, nColor)

Returns: .

AddColorValue(sText, nColor, nValue)

Returns: .

AddFont(sText, hFont)

Returns: .

AddFontValue(sText, hFont, nValue)

Returns: .

AddPicture(sText, hPicNormal, hPicSelected)

Returns: .

AddPictureValue(sText, hPicNormal, hPicSelected, nValue)

Returns: .

Collapse(nIndex)

Returns: .

DeleteChild(nIndex)

Returns: .

DeleteDescendents(nIndex)

Returns: .

Demote(nIndex, hPicNormal, hPicSelected)

Returns: .

DisableItem(nIndex, nColor)

Returns: .

DoDragDrop(nSourceIndex, target, nTargetIndex, nDropMode)

Returns: .

EnableItem(nIndex, nColor)

Returns: .

EnumChildren(hItem, hItems)

Returns: .

EnumDescendents(hItem, hItems)

Returns: .

Expand(nIndex)

Returns: .

ExpandDescendents(nIndex)

Returns: .

FindItemValue(hItem, nValue)

Returns: .

FreeChild(hItem)

Returns: .

FreeDescendents(hItem)

Returns: .

FromHandle(hWnd)

Returns: .

FromItemHandle(handle)

Returns: .

GetColor(nIndex)

Returns: .

GetFlags(nIndex)

Returns: .

GetFont(nIndex)

Returns: .

GetItemColor(hItem)

Returns: .

GetItemData(hItem, sText, nValue, nItemFlags)

Returns: .

GetItemFlags(hItem)

Returns: .

GetItemFont(hItem)

Returns: .

GetItemHandle(nIndex)

Returns: .

GetItemIndex(hItem)

Returns: .

GetItemPicture(hItem, hPicNormal, hPicSelected)

Returns: .

GetItemText(hItem)

Returns: .

GetItemValue(hItem)

Returns: .

GetLevel(hItem)

Returns: .

GetNextSibling(hItem)

Returns: .

GetParent(hItem)

Returns: .

GetPicture(nIndex, hPicNormal, hPicSelected)

Returns: .

GetPrevSibling(hItem)

Returns: .

GetRoot()

Returns: .

GetStyle()

Returns: .

InsertColor(nIndex, sText, nColor)

Returns: .

InsertColorValue(nIndex, sText, nColor, nValue)

Returns: .

InsertFont(nIndex, sText, hFont)

Returns: .

InsertFontValue(nIndex, sText, hFont, nValue)

Returns: .

InsertPicture(nIndex, sText, hPicNormal, hPicSelected)

Returns: .

InsertPictureValue(nIndex, sText, hPicNormal, hPicSelected, nValue)

Returns: .

LoadChild(hItem, hPicNormal, hPicSelected, sText, nValue, nItemFlags)

Returns: .

LoadChildren(hItem, hPicNormal, hPicSelect, sTexts, nValues, nItemFlags)

Returns: .

LoadOutline(xml)

Returns: .

LoadOutlineFile(sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect)

Returns: .

LoadSibling(hItemBefore, hPicNormal, hPicSelected, sText, nValue, nItemFlags)

Returns: .

MoveDown(nIndex)

Returns: .

MoveUp(nIndex)

Returns: .

Promote(nIndex, hPicNormal, hPicSelected)

Returns: .

SaveOutline(xml)

Returns: .

SetColor(nIndex, nColor)

Returns: .

SetFlags(nIndex, nFlags, bState)

Returns: .

SetFont(nIndex, hFont)

Returns: .

SetItemColor(hItem, nColor)

Returns: .

SetItemData(hItem, sText, nValue, nItemFlags)

Returns: .

SetItemFlags(hItem, nFlags, bState)

Returns: .

SetItemFont(hItem, hFont)

Returns: .

SetItemPicture(hItem, hPicNormal, hPicSelected)

Returns: .

SetItemText(hItem, sText)

Returns: .

SetItemValue(hItem, nValue)

Returns: .

SetOutlineRedraw(bRedraw)

Returns: .

SetPicture(nIndex, hPicNormal, hPicSelected)

Returns: .

SetStyle(nStyle)

Returns: .

ShowOutline(nLevel)

Returns: .

SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
VisListBoxExtension
VisListBoxExtension
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
ISalWindow
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalString
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
Control
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalArray<SalNumber>
SalNumber
SalArray<SalNumber>
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber&
SalNumber&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber&
SalNumber&
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalArray<SalString>
SalArray<SalNumber>
SalArray<SalNumber>
SalString
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
ISalWindow