Target not working???
Mark Smith
mark at maseurope.net
Mon Mar 27 05:43:13 EST 2006
The target of the 'start using' <is> stack TestLib, no?
You could always try
on mouseUp
start using stack "TestLib"
addToTestLibClientStacks the short name of this stack
end mouseup
and in TestLib
on addToTestLibClientStacks who
put who & cr after fld 1 of me
end addToTestLibClientStacks
which is fairly consistent with your ISM approach, I think.
Mark
On 27 Mar 2006, at 11:11, David Burgun wrote:
> Hi,
>
> The "target" keyword doesn't seem to work inside a "libraryStack"
> function. For example:
>
> In a button in the Main Stack "Test1":
>
> on mouseUp
> start using "TestLib"
> end mouseUp
>
>
> In the Library ("TestLib":
>
> on libraryStack
> put target & cr after field 1 of me
> end libraryStack
>
> In this case "target" is set to "TestLib" and not "Test1" as expected.
>
> Is this the correct action? If not, how can I get the stack that
> issued the "start using" command from within a library?
>
> Thanks a lot
> All the Best
> Dave
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list