Give some feedback that a field line has been clicked
jhurley0305 at sbcglobal.net
Wed Feb 22 11:39:06 CST 2012
Perfect. I was trying the following:
put the clickline into tClickline
set the textStyle of line (word 2 of tClickline) of me to "bold"
wait 1 seconds
set the textStyle of line (word 2 of tClickLine) of me to "plain""
But LC ignored the wait time, setting the text to bold for just a flash and then back to plain.
I tried it again and now it works as expected. Moral: time heals all wounded scripts.
But text selection is much better then bold face.
> Probably something like this will do:
> on mouseup
> put word 2 of the clickline into lineNbr
> select line lineNbr of me -- assumes autohilite = true
> wait 8 ticks
> select empty
> end mouseup
> -- Peter
> Peter M. Brigham
> pmbrig at gmail.com
More information about the use-livecode