Xojo Documentation Xojo Documentation
  • Home
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Pi Programming
  • More Guides
  • Resources
  • User Guide
  • Language Reference
  • Release Notes
  • System Requirements
  • Deprecations
  • Videos
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
  • Log in
  • Xojo Documentation
  • Home
  • Get Started with Xojo
  • QuickStarts
  • Tutorials
  • Pi Programming
  • More Guides
  • Resources
  • User Guide
  • Language Reference
  • Release Notes
  • System Requirements
  • Deprecations
  • Videos
  • Feedback
  • Usage
  • Copyrights and Trademarks
  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information

WebListBox

From Xojo Documentation

Class (inherits from WebUIControl)

A scrollable, multicolumn listbox control.

Events
Closed Error SelectionChanged
ContextualMenuSelected Hidden Shown
CustomCellAction Opening
DoublePressed Pressed
Properties
ColumnCount Left RowSelectionType
ColumnWidths LockBottom fa-lock-32.png SearchCriteria
ContextualMenu LockHorizontal fa-lock-32.png SelectedRowColor
ControlID fa-lock-32.png LockLeft fa-lock-32.png SelectedRowIndex
DataSource LockRight fa-lock-32.png Style
Enabled LockVertical fa-lock-32.png TabIndex
HasHeader Name fa-lock-32.png Tooltip
Height NoRowsMessage Top
HighlightSortedColumn Page fa-lock-32.png Visible
Indicator Parent fa-lock-32.png Width
LastAddedRowIndex fa-lock-32.png RowCount fa-lock-32.png
Methods
AddRow ExecuteJavaScript RowTagAt
AddRowAt GotoURL Selected
CellTagAt HeaderAt SelectedRowCount
CellValueAt ReloadData SelectedRowValue
Close RemoveAllRows SetFocus
ColumnSortDirectionAt RemoveRowAt UpdateBrowser
ColumnSortTypeAt RowCount
Enumerations
RowSelectionTypes SortDirections SortTypes

Notes

To load rows dynamically, see the WebDataSource class.

To control the drawing style of individual cells, use WebListBoxStyleRenderer.

To draw pictures in a cell, use WebListBoxImageRenderer.

To display DateTime values in the user's time zone and locale, use WebListBoxDateTimeRenderer.

Sample Code

This example adds 100 rows to a 5-column listbox:

For row As Integer = 1 To 100
Listbox1.AddRow("Col1", "Col2", "Col3", "Col4", "Col5")
Next

See Also

WebDataSource class.

Retrieved from "http://docs.xojo.com/index.php?title=WebListBox&oldid=77756"
Categories:
  • Classes
  • Language Reference
  • Language Reference Index
  • Web
  • This page was last edited on 15 March 2021, at 14:24.
  • Privacy policy
  • About Xojo Documentation
  • Disclaimers
  • Send Doc Feedback
  • Docs for the Xojo programming language and IDE
  • Powered by MediaWiki