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
  • VisListBoxBase()
  • Properties
  • hFont
  • hItem
  • hPicNormal
  • hPicSelect
  • ItemImageSize
  • nColor
  • nIndex
  • nItemFlags
  • nLevel
  • nStyle
  • nValue
  • SelectedIndex
  • sText
  • Methods
  • AddColor(text, color)
  • AddColorValue(text, color, value)
  • AddFont(text, hFont)
  • AddFontValue(text, hFont, value)
  • AddPicture(text, picNormal, picSelect)
  • AddPictureValue(text, picNormal, picSelect, value)
  • Collapse(index)
  • DeleteChild(index)
  • DeleteDescendents(index)
  • Demote(index, picNormal, picSelect)
  • DisableItem(index, color)
  • DragDrop(sourceIndex, target, targetIndex, dropMode)
  • EnableItem(index, color)
  • EnumChildren(hItem, hItems)
  • EnumDescendents(hItemParent, hItems)
  • Expand(index)
  • ExpandDescendents(index)
  • FindItemValue(hItem, value)
  • FreeChild(hItemChild)
  • FreeDescendents(hItemParent)
  • GetColor(index)
  • GetFlags(index)
  • GetFont(index)
  • GetIndexFromPoint(xPos, yPos)
  • GetItemColor(hItem)
  • GetItemData(hItem, text, value, itemFlags)
  • GetItemFlags(hItem)
  • GetItemFont(hItem)
  • GetItemHandle(index)
  • GetItemIndex(hItem)
  • GetItemPicture(hItem, picNormal, picSelect)
  • GetItemText(hItem)
  • GetItemValue(hItem)
  • GetLevel(hItem)
  • GetNextSibling(hItem)
  • GetParent(hItem)
  • GetPicture(index, picNormal, picSelect)
  • GetPrevSibling(hItem)
  • GetRoot()
  • GetStyle()
  • GetTextRectangle(index, top, left, bottom, right)
  • InsertColor(index, text, color)
  • InsertColorValue(index, text, color, value)
  • InsertFont(index, text, hFont)
  • InsertFontValue(index, text, hFont, value)
  • InsertPicture(index, text, picNormal, picSelect)
  • InsertPictureValue(index, text, picNormal, picSelect, value)
  • LoadChild(hItemParent, picNormal, picSelect, text, value, itemFlags)
  • LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)
  • LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)
  • LoadOutline(blob)
  • LoadOutlineFile(fileName, picParentNormal, picParentSelect, picChildNormal, picChildSelect)
  • LoadSibling(hItemBefore, picNormal, picSelect, text, value, itemFlags)
  • MoveDown(index)
  • MoveUp(index)
  • Promote(index, picNormal, picSelect)
  • SaveOutline(blob)
  • SetColor(index, color)
  • SetFlags(index, flags, state)
  • SetFont(index, hFont)
  • SetIndent(width)
  • SetItemColor(hItem, color)
  • SetItemData(hItem, text, value, itemFlags)
  • SetItemFlags(hItem, flags, state)
  • SetItemFont(hItem, hFont)
  • SetItemPicture(hItem, picNormal, picSelect)
  • SetItemText(hItem, text)
  • SetItemValue(hItem, value)
  • SetOutlineRedraw(state)
  • SetPicture(index, picNormal, picSelect)
  • SetStyle(style)
  • ShowOutline(level)
  • Inherited By
  • Implements
  1. PPJ.Runtime.Vis.49
  2. Controls

VisListBoxBase

PPJ.Runtime.Vis.VisListBoxBase

PreviousVisFontNameListBoxNextVisListBoxExtension

Last updated 2 years ago

Namespace: PPJ.Runtime.Vis

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

Base class for all the extended list box classes in Vis.

public class VisListBoxBase : SalListBox
Public Class VisListBoxBase
    Inherits SalListBox

Constructors

VisListBoxBase()

Default Constructor.

Properties

hFont

: Multiple Inheritance: Wrapper property.

hItem

: Multiple Inheritance: Wrapper property.

hPicNormal

Methods

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

Parameter
Type
Description

text

color

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

Parameter
Type
Description

text

color

value

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

Parameter
Type
Description

text

hFont

Adds a new item with the specified font and value.

Parameter
Type
Description

text

hFont

value

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

Parameter
Type
Description

text

picNormal

picSelect

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

text

picNormal

picSelect

value

Collapses all descendant items.

Parameter
Type
Description

index

Deletes the child item from the tree control.

Parameter
Type
Description

index

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

Parameter
Type
Description

index

Moves an item and all descendants right in the outline by making the item become the last child of the previous sibling.

Parameter
Type
Description

index

picNormal

picSelect

Disables the specified item.

Parameter
Type
Description

index

color

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

Parameter
Type
Description

sourceIndex

target

targetIndex

dropMode

Enables the specified item.

Parameter
Type
Description

index

color

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

hItemParent

hItems

Expands an outline one level at the index specified.

Parameter
Type
Description

index

Displays all descendants of an item.

Parameter
Type
Description

index

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

Parameter
Type
Description

hItem

value

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

Parameter
Type
Description

hItemChild

Frees memory for all descendants of the item specified.

Parameter
Type
Description

hItemParent

Returns the current color of the list item.

Parameter
Type
Description

index

Returns the item's flags.

Parameter
Type
Description

index

Returns the current font of the list control item.

Parameter
Type
Description

index

Returns the index of the item at the indicated screen coordinates.

Parameter
Type
Description

xPos

yPos

Retrieves the color associated with an outline item.

Parameter
Type
Description

hItem

Parameter
Type
Description

hItem

text

value

itemFlags

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

index

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

Parameter
Type
Description

hItem

Parameter
Type
Description

hItem

picNormal

picSelect

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

index

picNormal

picSelect

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.

Parameter
Type
Description

index

top

left

bottom

right

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

Parameter
Type
Description

index

text

color

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

index

text

color

value

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

Parameter
Type
Description

index

text

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

index

text

hFont

value

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

Parameter
Type
Description

index

text

picNormal

picSelect

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

index

text

picNormal

picSelect

value

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

Parameter
Type
Description

hItemParent

picNormal

picSelect

text

value

itemFlags

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

Parameter
Type
Description

hItemParent

picNormal

picSelect

text

values

itemFlags

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

Parameter
Type
Description

hItemParent

picNormal

picSelect

text

values

itemFlags

Deserializes the entire outline tree from the specified string.

Parameter
Type
Description

blob

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

Parameter
Type
Description

fileName

picParentNormal

picParentSelect

picChildNormal

picChildSelect

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

Parameter
Type
Description

hItemBefore

picNormal

picSelect

text

value

itemFlags

Moves the specified item down one position in the tree.

Parameter
Type
Description

index

Moves an item and its descendants up in the list.

Parameter
Type
Description

index

Moves an item and its descendants left in the outline by making it the last sibling of the parent item.

Parameter
Type
Description

index

picNormal

picSelect

Parameter
Type
Description

blob

Sets the color of a list item.

Parameter
Type
Description

index

color

Sets the item's flags.

Parameter
Type
Description

index

flags

state

Sets the font of the list control item.

Parameter
Type
Description

index

hFont

Gets or sets the distance to indent each of the child tree node levels.

Parameter
Type
Description

width

Sets the color of the outline item.

Parameter
Type
Description

hItem

color

Updates the specified item.

Parameter
Type
Description

hItem

text

value

itemFlags

Sets the item's flags.

Parameter
Type
Description

hItem

flags

state

Sets the font of the outline item.

Parameter
Type
Description

hItem

hFont

Assigns new bitmaps to the specified item.

Parameter
Type
Description

hItem

picNormal

picSelect

Sets the text of the outline item.

Parameter
Type
Description

hItem

text

Sets the value associated to the outline item.

Parameter
Type
Description

hItem

value

Enables or disables drawing.

Parameter
Type
Description

state

Changes the normal and selected images for the specified item.

Parameter
Type
Description

index

picNormal

picSelect

Sets the style flags for the control.

Parameter
Type
Description

style

Expands list items up to the specified level.

Parameter
Type
Description

level

Inherited By

Name
Description

Extended ListBox, supports colored items.

Displays collapsible list of directories in a list box.

Extended ListBox, displays list of available drives.

Extended ListBox, displays the files list and file informations for a directory.

Extended ListBox, supports items of different font.

Extended ListBox, lists the names of all the installed fonts.

List box with pictures.

Implements

Name
Description

: Multiple Inheritance: Wrapper property.

hPicSelect

: Multiple Inheritance: Wrapper property.

ItemImageSize

: Returns or sets the size of the images associated to the items in the list box.

nColor

: Multiple Inheritance: Wrapper property.

nIndex

: Multiple Inheritance: Wrapper property.

nItemFlags

: Multiple Inheritance: Wrapper property.

nLevel

: Multiple Inheritance: Wrapper property.

nStyle

: Multiple Inheritance: Wrapper property.

nValue

: Multiple Inheritance: Wrapper property.

SelectedIndex

: index of selected item or -1 if none is selected

sText

: Multiple Inheritance: Wrapper property.

AddColor(text, color)

Returns: .

AddColorValue(text, color, value)

Returns: .

AddFont(text, hFont)

Returns: .

AddFontValue(text, hFont, value)

Returns: .

AddPicture(text, picNormal, picSelect)

Returns: .

AddPictureValue(text, picNormal, picSelect, value)

Returns: .

Collapse(index)

Returns: .

DeleteChild(index)

Returns: .

DeleteDescendents(index)

Returns: .

Demote(index, picNormal, picSelect)

Returns: .

DisableItem(index, color)

Returns: .

DragDrop(sourceIndex, target, targetIndex, dropMode)

Returns: .

EnableItem(index, color)

Returns: .

EnumChildren(hItem, hItems)

Returns: .

EnumDescendents(hItemParent, hItems)

Returns: .

Expand(index)

Returns: .

ExpandDescendents(index)

Returns: .

FindItemValue(hItem, value)

Returns: .

FreeChild(hItemChild)

Returns: .

FreeDescendents(hItemParent)

Returns: .

GetColor(index)

Returns: .

GetFlags(index)

Returns: .

GetFont(index)

Returns: .

GetIndexFromPoint(xPos, yPos)

Returns: .

GetItemColor(hItem)

Returns: .

GetItemData(hItem, text, value, itemFlags)

Returns: .

GetItemFlags(hItem)

Returns: .

GetItemFont(hItem)

Returns: .

GetItemHandle(index)

Returns: .

GetItemIndex(hItem)

Returns: .

GetItemPicture(hItem, picNormal, picSelect)

Returns: .

GetItemText(hItem)

Returns: .

GetItemValue(hItem)

Returns: .

GetLevel(hItem)

Returns: .

GetNextSibling(hItem)

Returns: .

GetParent(hItem)

Returns: .

GetPicture(index, picNormal, picSelect)

Returns: .

GetPrevSibling(hItem)

Returns: .

GetRoot()

Returns: .

GetStyle()

Returns: .

GetTextRectangle(index, top, left, bottom, right)

Returns: .

InsertColor(index, text, color)

Returns: .

InsertColorValue(index, text, color, value)

Returns: .

InsertFont(index, text, hFont)

Returns: .

InsertFontValue(index, text, hFont, value)

Returns: .

InsertPicture(index, text, picNormal, picSelect)

Returns: .

InsertPictureValue(index, text, picNormal, picSelect, value)

Returns: .

LoadChild(hItemParent, picNormal, picSelect, text, value, itemFlags)

Returns: .

LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)

Returns: .

LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)

Returns: .

LoadOutline(blob)

Returns: .

LoadOutlineFile(fileName, picParentNormal, picParentSelect, picChildNormal, picChildSelect)

Returns: .

LoadSibling(hItemBefore, picNormal, picSelect, text, value, itemFlags)

Returns: .

MoveDown(index)

Returns: .

MoveUp(index)

Returns: .

Promote(index, picNormal, picSelect)

Returns: .

SaveOutline(blob)

Returns: .

SetColor(index, color)

Returns: .

SetFlags(index, flags, state)

Returns: .

SetFont(index, hFont)

Returns: .

SetIndent(width)

Returns: .

SetItemColor(hItem, color)

Returns: .

SetItemData(hItem, text, value, itemFlags)

Returns: .

SetItemFlags(hItem, flags, state)

Returns: .

SetItemFont(hItem, hFont)

Returns: .

SetItemPicture(hItem, picNormal, picSelect)

Returns: .

SetItemText(hItem, text)

Returns: .

SetItemValue(hItem, value)

Returns: .

SetOutlineRedraw(state)

Returns: .

SetPicture(index, picNormal, picSelect)

Returns: .

SetStyle(style)

Returns: .

ShowOutline(level)

Returns: .

SalNumber
SalNumber
Size
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
Int32
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
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
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalArray<SalNumber>
SalNumber
SalArray<SalNumber>
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
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
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
SalArray<SalNumber>
SalArray<SalNumber>
SalArray<SalString>
SalArray<SalNumber>
SalArray<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
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
VisColorListBox
VisDirListBox
VisDriveListBox
VisFileListBox
VisFontListBox
VisFontNameListBox
VisPictureListBox
VisRadioListBox
ISalControl
ISalListControl
ISalWindow
SalNumber
SalNumber