two questions: send and references
Trevor DeVore
lists at mangomultimedia.com
Tue Sep 20 13:47:18 EDT 2005
On Sep 20, 2005, at 10:46 AM, Mark Wieder wrote:
> 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
try:
send "AddListener pMessage, pViewer" to pController
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
More information about the use-livecode
mailing list