On a locked field with "list behavior" set and this script in the field works for me. I found this somewhere (can't remember to give credit):

on mouseMove
   put word 2 of the mouseLine into myLineNr
   if myLineNr is not empty and the hilitedline of me is not myLineNr then
      set the hilitedLine of me to myLineNr
   end if
end mouseMove

Marty Knapp
The following script works very well with one problem. This script hilites the 
line correctly but just keeps hiliting lines as I move the mouse around and 
they stay hilited.

Make a scrolling field with some lines of text and put this handler in it:

on mouseWithin
    set the backgroundColor of the mouseLine to "yellow"
end mouseWithin

How do I have it only hilite one line at a time?

Bill Vlahos

On Nov 12, 2010, at 11:12 PM, Bill Vlahos wrote:

I have a list of categories and I want to drag and drop some text from a list 
field onto one of the categories in the target list field. The line of text 
should hilite on the drag (before the drop) so I know which item it is going to 
I should drag into.

I can get most of the coding for drag and drop but there are some things I 
don't know.
1. How do I hilite the line of text in the list field the mouse is over?
2. How do I get the line of text in the target list field when the users drops 
the mouse?

Bill Vlahos
_________________
InfoWallet (http://www.infowallet.com) is about keeping your important life 
information with you, accessible, and secure.

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to