Recherche Google
OpenMusic 6 – User ManualOM Objects > OM Basic Objects > Dialog Items > Text Boxes
previous pagenext page

Text Boxes

Dialog items include two types of text boxes :

  • t ext-edit-view-box
  • editable-text-box .

Text boxes allow to input or visualize a text in a visual program.

Features

Inputs and Outputs

They have one input and output :

  • "text" input : a string1 or something to display
  • "text" output : returns the current text in the box.
Use

Text boxes are convenient tools for the visualization of intermediate results returned by boxes.

 Their content is updated automatically at each evaluation.

Using a text box to display a result.
Using a text box to display a result.
Content
  1. The content of the editable-text-box has to be limited to a single line : line returns, as well as tabulations, are not accepted.

  2. The content of the text-edit-view-box can have several lines. Line returns and tabulations accepted.

Evaluation

Locked Box

Text boxes must be locked not to be reinitialized and return their current content at the evaluation.

To lock a box, press b .

Using a text box to input data. Lock the box to preserve its content at the evaluation.
Using a text box to input data. Lock the box to preserve its content at the evaluation.
"Locked" Label

Some locked dialog boxes show a small grey mark on their upper left corner.

  1. String

    A characters chain between two inverted commas.

previous pagenext page
About...(c) Ircam - Centre PompidouMade with Scenari