How can I stop text from wrapping horizontally in an edit box?

Re: Stop Editbox From Wrapping Text by Fred

Fred
Wed Feb 27 12:08:16 CST 2008

You can't. That's why you'd normally use an EditBox, to show multiple lines
or text that's too wide for a textbox. Use a TextBox instead if you don't
want it to wrap.

--
Fred
Microsoft Visual FoxPro MVP


"Andy Trezise" <andy@work.com> wrote in message
news:O7LdRfUeIHA.6136@TK2MSFTNGP03.phx.gbl...
> How can I stop text from wrapping horizontally in an edit box?
>



Re: Stop Editbox From Wrapping Text by Rush

Rush
Wed Feb 27 12:34:28 CST 2008

Fred-

That was my first reaction, but suppose you want formatted (that is,
non-wrapping), multi-line text? Do you know if an RTF control would do
it? (I haven't played with them, myself).

- Rush

Fred Taylor wrote:
> You can't. That's why you'd normally use an EditBox, to show multiple lines
> or text that's too wide for a textbox. Use a TextBox instead if you don't
> want it to wrap.
>
>

Fred Microsoft Visual FoxPro MVP "Andy Trezise" <andy@work.com> wrote in
message news:O7LdRfUeIHA.6136@TK2MSFTNGP03.phx.gbl...

> > How can I stop text from wrapping horizontally in an edit box?
> >
>


Re: Stop Editbox From Wrapping Text by Fred

Fred
Wed Feb 27 12:53:56 CST 2008

Yes, the RTF control will do that, but only if you set the RightMargin
property to a big enough number. If you don't change the RightMargin, it
will wrap, too.

--
Fred
Microsoft Visual FoxPro MVP


"Rush Strong" <rpstrong@gmail.com> wrote in message
news:U2ixj.3799$A93.1111@trndny08...
> Fred-
>
> That was my first reaction, but suppose you want formatted (that is,
> non-wrapping), multi-line text? Do you know if an RTF control would do
> it? (I haven't played with them, myself).
>
> - Rush
>
> Fred Taylor wrote:
>> You can't. That's why you'd normally use an EditBox, to show multiple
>> lines or text that's too wide for a textbox. Use a TextBox instead if
>> you don't want it to wrap.
>>
>>
>
> Fred Microsoft Visual FoxPro MVP "Andy Trezise" <andy@work.com> wrote in
> message news:O7LdRfUeIHA.6136@TK2MSFTNGP03.phx.gbl...
>
>> > How can I stop text from wrapping horizontally in an edit box?
>> >
>>
>