Hi
I'm wondering about the possibility of getting the rect of a chunk of text in a field. I'm guessing I'd need to delve into MCParagraph etc again... I'm thinking of something like the reverse of getclickindex... The use case is I need to display a graphic in the rect of a word of a field.
Cheers
Monte
rect of chunk in field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
rect of chunk in field
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
-
- VIP Livecode Opensource Backer
- Posts: 3991
- Joined: Sun Jan 07, 2007 9:12 pm
- Location: Bochum, Germany
Re: rect of chunk in field
Hi Monte,
can't you use the formattedRect?
KInd regards
Bernd
can't you use the formattedRect?
Code: Select all
put the formattedRect of word 5 of field 1
Bernd
Re: rect of chunk in field
Because that would be too easy Bernd
Thanks!
Thanks!
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: rect of chunk in field
Monte, you do NOT have an external for this???