two questions: send and references

Mark Wieder mwieder at
Tue Sep 20 13:46:36 EDT 2005


Tuesday, September 20, 2005, 10:17:54 AM, you wrote:

> you just won't believe it, but this will also work with other vars :-D

> ...
> put the long id of field "xyz" into it2
> send "hi it2" to field "abc" of card "argh"
> ...

I'd like to believe it, but no. It doesn't.

Maybe I should be more exact about what I'm trying to do.

MVC.RegisterViewer the long id of field "abc", "HelpMe", the long id
of button "xyz"

on RegisterViewer pViewer, pMessage, pController
  local tViewer
  put pViewer into tViewer
  -- up to this point tViewer is ok.
  send "AddListener" && pMessage & comma & tViewer to pController
end RegisterViewer

on AddListener pMessage, pViewer
  -- setting a breakpoint here shows that pViewer has the contents of
  field "abc"
  answer pViewer
end AddListener

-Mark Wieder
 mwieder at

More information about the Use-livecode mailing list