[futurebasic] Re: [FB] Carriage Returns in Edit Field

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2002 : Group Archive : Group : All Groups

From: gnome <gnome@...>
Date: Fri, 13 Dec 2002 10:27:06 +0100
Le vendredi 13 décembre 2002, à 08:56 , Robert Covington a écrit :

> My type tool in Compositor only allows for one line (255 characters 
> max) of
> text right now, and I need to upgrade this because the polar bears in
> Greenland need to enter more penguin and seal dingbat characters.

if you like at the field offsets for a TE field [and if
my memory serves me right], there is a field for
the number of lines... this should allow you to
multiply this by the fontheight and get your rect.
[else i do believe that you can extract the rect of
the text, rather than the viewrect of the field which
can be different, directly, again from the TE field
offsets.]

hth

:-j