Scrolling List selected lines

Richard Gaskin ambassador at fourthworld.com
Mon Feb 23 12:00:44 EST 2015


dunbarx wrote:

 > J. Landman Gay wrote:
 >> On 2/22/2015 2:19 PM, Peter Haworth wrote:
 >>> Nice idea but alas, no joy with before mouseDown.  I think the
 >>> OS must do the highlighting even before LC gets into the loop.
 >>
 >> That's too bad, I had high hopes.
 >
 > When does the "messageMessage" come into play?

Hopefully close to never, because it adds significant overhead to all 
message handling.

The messageMessages global property is a Boolean that governs whether or 
not messageHandle and messageNotHandled messages will be sent for every 
message.

This is useful for some specialized diagnostic tools*, but not 
recommended for anything else.  Because it works globally for all 
messages handed or not, it just slows things down and can't be used for 
monitoring specific messages only.

Given all this, Jacque's suggestion of using "before" is a good one.


* My Flight Recorder tool uses the messageMessages for real-time 
logging, and while I rarely use it when I do it's been very valuable for 
finding bottlenecks, redundant calls, and more:
<http://fourthworld.net/revnet/devolution/4W_FlightRecorder.rev.gz>

-- 
  Richard Gaskin
  Fourth World Systems
  Software Design and Development for the Desktop, Mobile, and the Web
  ____________________________________________________________________
  Ambassador at FourthWorld.com                http://www.FourthWorld.com




More information about the use-livecode mailing list