Popup menu bug?

J. Landman Gay jacque at hyperactivesw.com
Thu Jun 4 16:20:19 EDT 2009


Josep wrote:
> Hello Jaqueline,
> 
> So, from the button search mouseup I call "on search" and from menu pick
> call "on markOption", isn't?

Yes, that's right.

> 
> Every control call custom handler that share some local variables.
> Maybe this is best that every control have her code, with this way is more
> easy of mantain the code, but is good for performance of the app?

Either way will work. I don't think performance will be different. The 
main reason to use a local variable is to avoid conflicting global 
names, but if it is your own standalone then you can control that. If 
you want to keep the scripts in each button, that should be fine.

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com



More information about the use-livecode mailing list