ListBox Properties

LabView Local Project Settings

ListBox Properties

Installed With: Base Package

Inherits from Generic»GObject»Control. View the class hierarchy.

PropertyDescription
Active Row:Active Row NumberSets the active row. A value of –1 indicates the column header. A value of –2 indicates all rows. Details
Active Row:Active Row PositionThe coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the active row(s). Details
Active Row:Active Row Position:LeftThe coordinate in pixels, relative to the origin of the owning pane, of the left edge of the active row. Details
Active Row:Active Row Position:TopThe coordinate in pixels, relative to the origin of the owning pane, of the top edge of the active row. Details
Active Row:Cell Background ColorThe background color of the active cell(s). Details
Active Row:Cell FontThe font of the active cell in the listbox control. Details
Active Row:Cell Font:BoldIndicates whether the text in the active cell is bold. Details
Active Row:Cell Font:ColorThe text font color in the active cell. Details
Active Row:Cell Font:ItalicIndicates whether the text in the active cell is italic. Details
Active Row:Cell Font:NameThe name of the font in the active cell. Predefined font names include App Font, Sys Font, and Dlg Font. Details
Active Row:Cell Font:SizeThe size of the font in the active cell. Details
Active Row:Cell Font:StrikeoutIndicates whether to strike out the text in the active cell. Details
Active Row:Cell Font:UnderlineIndicates whether the text in the active cell is underlined. Details
Active Row:Cell HeightThe height of the active cell(s) in pixels. Details
Active Row:Cell JustificationGets or sets the justification of text within the active row of the listbox. Details
Allow Editing CellsIf TRUE, users can edit non-header cells in the listbox at run time by clicking the cell text and then clicking the text a second time after a short pause. If FALSE, users cannot edit non-header cells. Details
Autosizing Row HeightDetermines whether the rows autosize their height to display all text when fonts change or when the number of lines in a cell changes. Details
Column Header StringThe string in the column header. Details
Content Rect BoundsThe size in pixels of the content rectangle of the listbox control. Details
Content Rect Bounds:HeightThe height in pixels of the content rectangle of the listbox control. Details
Content Rect Bounds:WidthThe width in pixels of the content rectangle of the listbox control. Details
Content Rect PositionThe coordinate in pixels, relative to the origin of the owning pane, of the top-left position of the content rectangle of the listbox control. Details
Content Rect Position:LeftThe coordinate in pixels, relative to the origin of the owning pane, of the left edge of the content rectangle of the listbox control. Details
Content Rect Position:TopThe coordinate in pixels, relative to the origin of the owning pane, of the top edge of the content rectangle of the listbox control. Details
Disabled ItemsArray of indexes of disabled items (first item is 0). Details
Drag/Drop:Allow Drag and Drop Outside ControlIf TRUE, this enables the control to drag items to other controls and accept drags from other controls. Details
Drag/Drop:Allow DraggingIf TRUE, LabVIEW automatically begins a drag and drop operation from the control when you use the Operating tool to select and drag an item from the control. Details
Drag/Drop:Allow DroppingIf TRUE, LabVIEW automatically accepts drops containing the LV_LISTBOX, LV_TEXT, or LV_LISTBOX_ITEMS data types. The LV_LISTBOX data type is a cluster that contains an array of strings from the row that you are dragging data, and a numeric indicating the glyph associated with the row from which you are dragging. The LV_TEXT data type is of type string. The LV_LISTBOX_ITEMS data type is an array of a cluster containing an array of strings, from left to right, in the item you are dragging and an integer representing the glyph index associated with the item from which you are dragging data. Details
Drag/Drop:Drag ModeSets the default behavior for a drag and drop operation for the control. If you set copy only, LabVIEW only supports copying data during drag and drop operations. If you set move only, LabVIEW only supports moving data during drag and drop operations. If you set copy and move, LabVIEW supports both copying and moving data during the drag and drop operation. The settings only apply when the control configured is the source of the drag and drop operation. Details
Edit RowThe row of the current text entry. A value of 0 indicates the top row. A value of –1 indicates the column header. A value of –2 indicates that no edits are being made to the text of the control. This property does not set text focus on a control that does not already have text focus. Details
Item NamesArray of the strings for the selectable items. Details
Item SymbolsArray of item symbols. Item symbols (0-40) are as shown in the listbox symbol ring constant. Details
Keyboard ModeSets how to handle upper and lowercase characters when you type characters in a listbox at run time. Valid values include 0 (System Default), 1 (Case Sensitive), and 2 (Case Insensitive). Details
Multiple Line InputIf TRUE, you can enter multiple lines of text in the listbox cells by pressing the <Enter> key on the keyboard. If FALSE, pressing the <Enter> key on the keyboard while editing cells causes LabVIEW to commit the edits in the current cell and move the text focus to the next cell. This property does not affect run-time behavior of the listbox. Details
Number of RowsNumber of visible items in the listbox. This property counts partially visible rows. Details
Selection ColorColor used to draw the data selection. Details
Selection ModeNumber of items the user can select. Valid values include 0 (zero or one), 1 (one), 2 (zero or more), and 3 (one or more). Details
SizeThe width and height in pixels of the listbox control. Details
Size:HeightThe height of the listbox control in pixels. Details
Size:WidthThe width of the listbox control in pixels. Details
Top RowRow number currently at the top of the listbox. The number of visible items in the listbox does not limit the row number you can select for this property. Details
Visible Items:Column Header VisibleIf TRUE, displays the column header. Details
Visible Items:Horizontal Lines VisibleIf TRUE, displays horizontal lines that separate rows in the listbox. Details
Visible Items:Symbols VisibleIf TRUE, displays the item symbols. Details
Visible Items:Vertical Scrollbar VisibleIf TRUE, displays the vertical scroll bar. Details