> The problem comes with the fact that field members to not support text
> formatting through Lingo, hence you can not set a field to be bold.

No - you can set a field or any part of a field to be bold. You just need to
use the correct syntax for fields. Fields are not as flexible in their
formatting options (you can't set different leading for different lines,
color options are limited to the palette index, etc.), but they have all of
the basics.
 
> By the same token, you can not use the hilite() command with text members,
> even though they are now editable.

True, but text members have their own syntax for this as well - "selection".
member("text").selection = [8,44] hilites character 8 through character 44
of a given text member. It is not as simple to hilite a line in a text
member as it is in a field, but you can calculate the first and last
characters of a given line with a custom handler.

> Based on this, you may have to drop the text formatting option, or use an
> editable text member instead. You can still specify selStart and selEnd, but
> you can't use hilite()

Either field or text will work. Brush up on the syntax for both, and choose
one or the other based on preference.

-Kurt


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to