table format in Rev 2

Jan Schenkel janschenkel at yahoo.com
Sun Apr 6 13:25:00 EDT 2003


--- Jan Schenkel <janschenkel at yahoo.com> wrote:
> [snip]

> - to fix the first glitch, add the following to the
> group script
>   # synchronise selection changes [live]
>   local sTrackingSelectionChanges
>   on mouseDown
>     put true into sTrackingSelectionChanges
>   end mouseDown
>   on mouseRelease
>     put false into sTrackingSelectionChanges
>   end mouseRelease
>   on mouseUp
>     put false into sTrackingSelectionChanges
>   end mouseUp
>   on mouseMove x,y
>     -- crude, but it works
>     lock screen
>     send "selectionChanged" to me
>     unlock screen
>     pass mouseMove
>   end mouseMove

This needs a minor fix -- the fun of typing away in a
browser window without even looking at a script ;-)

  on mouseMove x,y
    if sTrackingSelectionChanges then
      lock screen
      send "selectionChanged" to me
      unlock screen
    end if
    pass mouseMove
  end mouseMove

Enjoy,

Jan Schenkel.

=====
"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



More information about the use-livecode mailing list