action dependant on mainsttack

rev at armbase.com rev at armbase.com
Sat Oct 29 12:04:20 EDT 2005


Quoting Buster <wouter.abraham at scarlet.be>:

> Hi,
>
> Try this:
>
>
>     if the mainstack of this stack is "beeptest" then
>
>
> Greetings,
> Wouter

Thanks Wouter.

Workes perfectly

ATB
Bob
>
> On 29 Oct 2005, at 17:10, rev at armbase.com wrote:
>
>> Hi All
>> I'm trying to execute a handler (or in this case not execute)  
>> depepndant on the
>> mainstack.
>>
>> As  a test I made on button on a stack "beeptest" with the script
>> on mouseup
>>     if the mainstack is "beeptest" then
>>         exit to top
>>         else
>>         beep
>>         end if
>>     end mouseup
>>
>>
>> But it still beeps.
>>
>> I know it must be something simple. (apart from my brain that is)
>>
>> Any ideas
>>
>> cheers
>> Bob
>>
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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