Edward D Lavieri Jr
edljr at mac.com
Sun Dec 13 01:02:20 EST 2009
I will experiment with the formattedRect property. It is frustrating
because I just finished a large project, just to have this requirement
thrown in at the last minute. If it was not challenging, it would not
be any fun.
On Dec 12, 2009, at 11:38 PM, Scott Rossi wrote:
> Keep in mind the term "rect" refers to a rectangular region. There
> is no built-in way to do what you want. When you say "user entered"
> do you mean after the text is entered, or dynamically as it is being
> typed? You might be able to fit text to a shape using the
> formattedRect property of text, but IIRC this will only work on text
> already in a field (you can't get the formattedRect of text in a
> variable for example). If you lock the screen and rewrap the text
> line-by-line, you might get acceptable performance.
> Hope this helps.
> Scott Rossi
> Creative Director
> Tactile Media, Mutimedia & Design
> On Dec 12, 2009, at 2:55 PM, Edward D Lavieri Jr <edljr at mac.com>
>> Is it possible for user-entered text to be auto-fitted into a non-
>> square/rectangle text field? This code does not give me an error,
>> nor does it result in any change.
>> set the rect of fld "triangle1" to the rect of grc "triangle1"
>> Even ensuring the polygon only has three points did not do the trick
>> Any help would be appreciated.
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode