{"identifier":84490,"topic":"Properties","name":"dontWrap","text":"<code> set <\/code>[<code>the<\/code>]<code> dontWrap of <i>field<\/i> \u00ac     to <i>trueOrFalse<\/i> <br><br>\n\n <\/code>The<code> dontWrap <\/code>property returns or sets whether a field wraps text that is longer than the width of the field or instead truncates the viewable text at the right edge of the field. (In HyperTalk, a return character determines a line.) <br><br>\n\n This property corresponds to the Don\u2019t Wrap option in a Field Info dialog box. <br>\n<br>\n Truncated viewable text isn't lost. If you set the<code> dontWrap <\/code>to<code> true<\/code>, the \u201cmissing\u201d text appears in the field. <br><br>\n\n This property is set to true when <code>autoSelect <\/code>is set to true; and it sets <code>autoSelect <\/code>to false when it is set to false. <br>\n","related":{"12857":"autoSelect"},"examples":"set the dontWrap of card field \"Index\" of last card to false","demo":"<code><pre>on toggleWrap\n  set the cursor to watch\n  set the <b>dontWrap<\/b> of me to true\n  wait 2 sec\n  set the <b>dontWrap<\/b> of me to false\nend toggleWrap\n-- Here is some text that will illustrate the dontWrap feature:\n-- Normally, when dontWrap is set to false, the text wraps to the next display line of the field.\n-- When dontWrap is set to true, the text does not wrap to the next line; the field looks more like a list.<\/pre><\/code>\n ","debug":{"9":["\rset [the] dontWrap "],"10":["\rTruncated viewable "]}}