Carriage Returns in the text of text boxes (OpenInsight)
At 07 APR 2000 05:56:42PM Orlay Edward Plummer wrote:
I need to put some carriage returns in the text of a
text control box (non-edit). I have looked through
the documentation to find out how to do it after
trying RETURN, CTRL+RETURN, ALT+RETURN, CTRL+ALT+RETURN
(Did I try SHIFT+RETURN?) and found nothing.
How does one do it beside finding some text with them
already in it and cut and paste (which I am reluctant
to try since cut&pasting seems to be one way I lose
controls through corruption)?
Ed Plummer
At 07 APR 2000 09:37PM WinWin/Revelation Tech Support wrote:
Ed-
I'd use the enter key. However, if you've set up a default button, Take the Horiz Scroll Bar and Auto HSCroll off the control.
Will that do it?
Hope it Helps-
Mike Ruane
At 09 APR 2000 08:14PM Orlay Edward Plummer wrote:
A RETURN or ENTER does work, but only in the text: box in the
in Text Properties dialog window for the Text Control. In the
edit line provided directly below the menu in the form design
(right of the control name edit line), RETURN or ENTER does
not work. It only highlights the text.
Thanks for sparking the correct thought in my mind.
Ed Plummer
At 10 APR 2000 03:43AM Oystein Reigem wrote:
Ed,
How does one do it beside finding some text with them already in it and cut and paste (which I am reluctant to try since cut&pasting seems to be one way I lose controls through corruption)?
I too have sometimes had problems with cutting and pasting controls. But what you're talking about now is cutting and pasting pure text - isn't it? That should work just fine.
I've never heard of a keystroke to enter CRLF directly into the Form Designer frame's Text: control.
And unfortunately the standard way to enter any ASCII or ANSI character, with the Alt key and the numeric keyboard, doesn't seem to work here. It works with normal, visible characters, but not control characters like CR and LF. If it had worked, you could have got your CRLFs in fairly quick, with Alt - 1 - 3 - Alt - 1 - 0 (the ASCII way, without leading zeroes).
- Oystein -