Selecting a Stack
JB
sundown at pacifier.com
Sun Sep 21 08:26:15 EDT 2014
Thanks for your help again, Jacque
I tried every combination possible and
included the TopLevel command you
mentioned previously. I would not work.
I can just use the go to next & prev cd &
it will call the scripts topLevel would call/
It does the job but after you call the files
dialog and maybe other things you cannot
use the go to cd in the same handler. So
I put this code in a field I am using but does
not have any other handlers.
on mouseUp
LMRefresh
end mouseUp
on LMRefresh
lock screen
go next cd
go previous cd
end LMRefresh
It works every time no matter how complex
the code is in my answer handler.
thanks again,
John Balgenorth
On Sep 21, 2014, at 12:31 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> The message box is setting the defaultstack. Sometimes I also have to set the topstack, depending on the situation.
>
> answer "hi"
> set the topstack to the short name of this stack
> set the defaultstack to the short name of this stack
>
> You may only need the defaultstack, but I don't have list magic so I'm not sure what it or your scripts are doing.
>
>
> On September 20, 2014 9:25:27 AM CDT, JB <sundown at pacifier.com> wrote:
>> I juste tried it with the ask command and it
>> did not work properly. Maybe the message
>> box and files dialog become the editable
>> window and when they close the card is
>> the editable window while the answer and
>> ask commands do not become editable
>> windows and the messages are not sent
>> properly. Either that or the message box
>> is passing a message the others are not
>> could be what is happening.
>>
>> I can make it work so it is not a big problem
>> for me.
>>
>> John Balgenorth
>
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list