hi nik,
here is a simple behavior that uses a shape-sprite (filled rect) in a
higher channel than the field and with ink set to
reverse ink::
-----------------------------------
property pS
property pM
property pShape
on beginSprite me
pS=sprite(me.spriteNum)
pM=pS.member
end
on exitFrame me
ln=pS.pointToLine(the mouseLoc)
if ln>0 then
y=max(pS.top + pM.lineHeight*(ln-1) - pM.scrollTop,pS.top)
pShape.width=pS.width+1
pShape.height=min(pM.lineHeight,pS.bottom-y)
pShape.loc=point(pS.left+1,y)
else
pShape.rect=rect(-100,0,0,0)
end if
end
on getPropertyDescriptionList me
pl = [:]
pl[#pShape] = [#comment:"Shape-Sprite", #format:#sprite, #default:
sprite(0)]
return pl
end
-----------------------------------------
I also have a imaging lingo solution that allows multiline/multiple
seperated line selects.
valentin
nik crosina wrote:
> Hi,
> I am trying to find a convenient way to highlight complete lines of
> field castmembers. I know I can use the .highlight, but would like to
> highlight the complete line and not just as much of the line as
> covered by words (e.g. a line might only be half full)
>
> Has anyoen of you done that before, or knows a script I can adapt? I
> am experimenting with shape castmembers put behind the lines, maybe
> that is a way?
>
> Thanks on a Sunday...
> Best
> NIk
>
>
> ___________________________________________________
> Cost effective technology solutions for business. Sign up for a free
> trial today!
>
> http://www.officemaster.net
>
> [To remove yourself from this list, or to change to digest mode, go
> to http://www.penworks.com/lingo-l.cgi To post messages to the list,
> email [EMAIL PROTECTED] (Problems, email
> [EMAIL PROTECTED]). Lingo-L is for learning and helping with
> programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]