DesktopListBox.Content

From Xojo Documentation

Method

DesktopListBox.Content() As String

Supported for all project types and targets.


The text content of the ListBox.

Notes

If the string you assign to Content contains tabs and EndOfLine characters, rows and columns will be created to accommodate.

Example Code

This example copies all cells from one ListBox into another:

ListBox2.Content = ListBox1.Content

The destination listbox will have the same number of rows and columns as the source.

fa-exclamation-circle-32.png
Headers, CellTags, RowTags and ColumnTags are not copied.