--- "Roger Askew, Jr." wrote:
>
> Does anyone know if it is capable in a
> multiline Field control to have one
> line of text "bold", while the rest of
> the lines in the text are in a normal
> font?
>
typedef struct {
UInt16 id;
RectangleType rect;
FieldAttrType attr;
Char *text;
MemHandle textHandle;
LineInfoPtr lines;
UInt16 textLen;
UInt16 textBlockSize;
UInt16 maxChars;
UInt16 selFirstPos;
UInt16 selLastPos;
UInt16 insPtXPos;
UInt16 insPtYPos;
FontID fontID;
UInt8 reserved;
} FieldType;
I only see 1 fontID for the field.
Why not use 2 fields - one for the bold first line,
and the other for the rest of the text? Or, use a
list with a custom draw function. That would let you
make any line bold, not just the first one. (Or, if
you really want to do a lot of extra work, use a table
with a custom draw function.)
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/