The way I deal with this is to have two commands for each interface element, 
one for humans, one that is programartic. For a table, I might have:

on mouseup
  put the clickline into theline
  doit theline
end mouseup

on doit theline
  if theline = empty then
     put the clickline into theline
  end if
  - - stuff here
end doit

The idea is that a human activates the control with mouseup (or whatever), and 
the actual work is performed by the doit command. I can drive the interface by 
sending doit commands to each of my interface elements. For me it keeps a nice 
separation between programatic control and human interaction.

Kee Nethery
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to