This line works fine.
put the formattedWidth item 1 of fld "myField" into tFRect -- works, but is limited to that particular field!
But, I want to use a function to do this in multiple fields, so I tried this.
put the formattedWidth item 1 of the target into tFRect -- does NOT work !!
I have tried everything I can possible think of to get the correct result, but an error is returned every time. Any thoughts on why this doesn't work?
The reason for this is to make a custom handler to "show/hide the scrollbars" in a field as text goes outside the width of the field. So if anyone already happens to have such a handler and wouldn't mind sharing, by all means.
