Howdy,

You can use math for that, either from scratch or starting from formattedrect. Easy if there's a consistent line height, but should be doable even if there isn't.

Depending on the content there are ways of faking stuff like this, but there were even more ways in the past with some LC versions. You know me, I love fields. :)

Best wishes,

Curry Kenworthy
--

Need custom software development or LiveCode help?
http://curryk.com/consulting/

================

As it turns out, a button works better than a field because its label is
centered both vertically and horizontally.

The issue is defining the size of the rect.  If the table field has the
same content in item 3 of lines 5 to 7, I need to find the rect of those 3
cells combined.  The formattedWidth and height only gives the size of the
content, but I need the visible grid cell dimensions.

~Roger


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to