Hot Tracking a text line in a field
Terry Judd
tsj at unimelb.edu.au
Mon Nov 23 15:53:39 EST 2009
Hi Mark - yes sorry about that. I was just typing some code off the top of
my head and I didn't finish it off properly. The code should be...
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
if tLine > 0 then
put tLine into pLine
set the textStyle of item 2 of line pLine of me to underline
end if
end mouseMove
Terry...
On 24/11/09 4:35 AM, "Mark Stuart" <mstuart at adaptcrm.com> wrote:
>
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list