Item text

A label that says one field of a list’s chosen item - the detail in a list and its detail. It reads the text where it stands in the list, so it is as long as it comes: an article of two thousand characters is shown whole, where a Text variable reading the same field keeps the first 255. Several of them make a detail screen: one for the title, one for the body, one saying 3 of 12. Arduino export.

Group: Ready-made · Default size: 200 × 24 · Style parts: Main

A dropped Item text, three lines tall, showing the first item’s body text wrapped over three lines.
An Item text as it is dropped: three lines tall, showing the first item’s Body.
Item text settings: Of the list Items (3), Shows Body, Before it, After it, Decimal places, With nothing chosen, Label mode Wrap.
Its settings.
SettingDefaultWhat it does
Of the listthe list on the designThe list whose chosen item this says.
Showsthe last text fieldOne field of the chosen item - or its place in the list (1 is the first), or how many items the list holds.
Before it / After itnothingWritten round what it says: Score: , of 12.
Decimal places1For a field that is a decimal number.
With nothing chosennothingWhat it says while no item of the list is chosen, in place of all of the above.
Label modeWrapAs a label’s: wrap, end in dots, scroll or clip.

While a design is laid out it says the list’s first item, so that a detail screen is not laid out empty. In preview and on the board nothing is chosen until a row is tapped or a Choose list item action chooses one, and it says what it is set to say then.

Example: the detail screen

The second screen of the Data list example.

  1. On the Detail screen drag an Item text to the top and name it ItemTitle. Set Shows to Title, its width to 280 and its font size to 22 px.
  2. Drag a second Item text under it, ItemBody, showing Body, 280 wide and 110 tall: it wraps, and is as long as the item’s text.
  3. Drag a Button saying Back, with the Arrow left icon, and give it an event: Clicked, Change Screen to Screen1, Fade mode Move right.
  4. While you lay it out it shows the list’s first item. Press Preview, tap a row on Screen1, and Detail says that one.
The Detail screen: the heading Item 1, the text Everything there is to say about item 1, and a Back button with an arrow.
The detail, laid out with the first item.