Curt Ford <cford@...> writes:

> 
> Ah, this is getting me pretty close:
> 
>    select line 3 of fld "Field2"
>    set the left of graphic "Rectangle" to item 1 of the selectedLoc - 10
>    set the top of graphic "Rectangle" to item 2 of the selectedLoc - 10
>    select empty
> 
> And checking the formattedHeight of the selectedLine will let me adjust the
size of the rectangle in
> accordance with any length or wrapping issues of the line to box up.

Don't forget to adjust for scrolling as well.
And it gets slightly more complicated if you select multiple lines.

-- 
 Mark Wieder
 mwie...@ahsoftware.net




_______________________________________________
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