Little #%$*! Arrows

Sarah Reichelt sarahr at genesearch.com.au
Sun Oct 17 18:54:22 EDT 2004


> I'm getting an error when I use the Little Arrows object from the 
> Object
> Library supplied with 2.5.
>
> When I press the up arrow or the down arrow, it executes a handler that
> increments the associated field containing the number being 
> incremented.
> Even though the handler is there in the script of the Little Arrows 
> button,
> the error says it can't find it.
>
> I've traced the script.  It seems that it finds and executes the 
> correct
> handler and when it comes to the end of that handler and control is 
> returned
> to the line that called the handler, the error occurs saying it can't 
> find
> the handler.
>
If I remember correctly, it needs a closeField handler in the field you 
are incrementing. The handler can be empty if you don't want it to do 
anything, but it must be present. And don't forget to set the 2 custom 
properties that dictate the maximum & minimum values.

Cheers,
Sarah



More information about the use-livecode mailing list