Text Area: Single Line

  1. 8 weeks ago

    Robert L

    Feb 13 XDC Speakers Federal Way, WA (Seattle Area)

    Mac: Mohave
    Xojo 2019 Release 3.1

    From the documentation:

    In order for the styled text to display, you must turn on the Multiline and Styled properties of the TextArea.

    In the IDE, I do not see any option to turn off Multiline.

    If I do it in code:

    taRecentTop.MultiLine = False \\ where taRecentTop is a TextArea in the window

    It does not have any effect that I can discern.

    So I am confused as to what is even meant by a "non-multiline" TextArea

  2. Norman P

    Feb 13 Pre-Release Testers, Xojo Pro outside enjoying the fresh air

    The old property called "multiline" doesnt seem to have a new counterpart in the inspector
    And it appears that this has to be set at design time (or the multiline property no longer works in 2019r3.1) as the code you posted basically behaves in 2019r1.1

  3. Dale A

    Feb 14 San Diego, California, USA

    The online documentation for TextArea says

    For single-line text fields, use the TextField control.

    I guess they disabled the MultiLine property in TextArea and removed it from the Inspector.

or Sign Up to reply!