Richard,
The only thing I can think of is to trap the arrowkeys and do the calculation, as follows:
on arrowKey tDir
put the hilitedLines of me into tLine
switch tDir
case "up"
if tLine <> 1 then
put (tLine-1) into tLine
end if
break
case "down"
if tLine <> (the num of lines of me) then
put (tLine+1) into tLine
end if
break
end switch
put tLine
pass arrowKey
end arrowKey
If I come across any other way, I'll post it
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Richard Gaskin
> Sent: Saturday, August 25, 2001 11:14 PM
> To: [EMAIL PROTECTED]
> Subject: notification of hilitedLine change?
>
>
> Maybe I've been up too late, but I'm drawing a blank here:
>
> How can I receive notification of when the hilitedLine
> changes in a list
> field?
>
> Trapping mouseUp only happens when the user clicks, and the
> arrowKeys can
> also change the selectedLine. SelectionChanged only works on
> editable text
> fields, and I can only trap the arrowKeys before MC changes
> the line, but
> not after.
>
> :\
>
> --
> Richard Gaskin
> Fourth World Media Corporation
> Multimedia Design and Development for Mac, Windows, UNIX, and the Web
> _____________________________________________________________________
> [EMAIL PROTECTED] http://www.FourthWorld.com
> Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
>
>
>
> Archives: http://www.mail-archive.com/[email protected]/
> Info: http://www.xworlds.com/metacard/mailinglist.htm
> Please send bug reports to <[EMAIL PROTECTED]>, not this list.
>
>
