[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Word wrap in dialog items.
- To: email@example.com
- Subject: Re: Word wrap in dialog items.
- From: Michael Travers <firstname.lastname@example.org>
- Date: Tue, 14 Jan 92 00:37:42 -0500
- In-reply-to: Your message of "Mon, 13 Jan 92 17:46:18 PST." <9201140146.AA10437@nova.laic.lockheed.com>
Subject: Word wrap in dialog items.
I need a dialog item for entering a paragraph of text.
But I need it to perform word wrap at the end of a line,
and scroll vertically when the text reaches the bottom of
the dialog item.
Since editable-text-dialog-items have full FRED editing, you can use
the auto-wrap code supplied in the Examples folder to set up word-wrap
in your dialog. You could define a class specialization that sets up
the comtab, for instance.
Also, I couldn't get a vertical
scroll bar and the wrap in the same dialog item.
This is harder. The dialog items can't have the usual fred scroll
bars, and they don't respond to messages from scroll-bar-dialog-items.
Probably Apple should fix one or the other. However, you can scroll
these items by dragging the cursor through the text, so it's not