[Yijue asks for a TEXTAREA-like widget that will do the line wrapping
 automatically from a single gigantic string, for which Robert's
 suggestion of TextList or EditableTextList are obvious candidates.]

I looked in the Icon Program Library to see if there was a handy procedure
that would take your gigantic string and give you a list of strings for use
with Robert's TextList widget, and a corresponding procedure to reverse that
process.  There were potentially useful helper procedures in lists.icn,
rewrap.icn, and wrap.icn, but I didn't see a perfect solution.

Still, once you decide on a wrapping semantics, it is easy to achieve the
effect you want using TextList, either writing from scratch or using a
helper procedure.  We might want to consider adding a TextArea widget at
some point, but in the meantime your options are to use the TextList family
or write your own TextArea class, possibly a subclass of ScrollArea or
TextList.

Clint



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to