Hot Tracking a text line in a field

Mark Stuart mstuart at adaptcrm.com
Mon Nov 23 12:35:41 EST 2009


Hi Terry,
I wasn't able to understand your script, as there is 2 "end if"
commands, without 2 beginning "if" commands.
Can you look into that?

Local pLine

on mouseMove
    put word 2 of the mouseLine into tLine
    set the itemDel to tab
    if pLine > 0 then
        set the textStyle of item 2 of line pLine of me to plain
>>    end if
    put tLine into pLine
        set the textStyle of item 2 of line pLine of me to underline
>>    end if
end mouseMove

Thanx,
Mark Stuart



More information about the use-livecode mailing list