Hi Paul,

I did not know for sure thats what was happening
but I tried that before I posted.  I tried it like you
wrote it and I also included the stack name after
resumeStack and it did not work.

Thanks for the reply and suggestion.

John Balgenorth


On Sep 20, 2014, at 8:57 AM, Paul Hibbert <paulhibb...@mac.com> wrote:

> John,
> 
> I noticed that the ask and answer dialogues both issue a 'suspendStack' 
> message to the card, but there is no 'resumeStack' message when the dialogue 
> is dismissed, maybe that is confusing listMagic. Going to the messageBox and 
> back to the card does issue a 'suspendStack' and 'resumeStack' message.
> 
> You could try adding a 'resumeStack' command after the ask or answer command, 
> something like:
> 
> on mouseUp
>   answer "Hello World!" with "Cancel" or "Hello LiveCode!"
>   resumeStack
> end mouseUp
> 
> This seemed to work in the simple test I did, but I don't have listMagic and 
> I'm not sure if this is the best way to address the problem, it's just a 
> suggestion.
> 
> Paul
> 
> 
> On Sep 20, 2014, at 7:25 AM, JB <sund...@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
>> 
>> 
>> On Sep 20, 2014, at 7:01 AM, JB <sund...@pacifier.com> wrote:
>> 
>>> Hi Jacque,
>>> 
>>> Thanks for the info.
>>> 
>>> I tried it and it does not work.  The Dictionary says
>>> if the stack is already in a editable window it does
>>> not send the messages.
>>> 
>>> The problem is with ListMagic lines not refreshing
>>> properly.  They will refresh from the message box
>>> and back and from a dialog like getting a file but
>>> not from a answer message.
>>> 
>>> It seems the message box is sending some kind of
>>> pass message that the answer command does not
>>> send but I do not no what the message box passes.
>>> 
>>> John Balgenorth
>>> 
>>> 
>>> On Sep 20, 2014, at 6:49 AM, J. Landman Gay <jac...@hyperactivesw.com> 
>>> wrote:
>>> 
>>>> See the toplevel command in the dictionary.  
>>>> 
>>>> On September 20, 2014 7:52:52 AM CDT, JB <sund...@pacifier.com> wrote:
>>>>> When I click on the message box it becomes the active
>>>>> window and then if I click on the card in my stack that is
>>>>> currently displayed it becomes the active window.
>>>>> 
>>>>> When I use the answer command it becomes the active
>>>>> window but after closing the answer window my card is
>>>>> not the active window.  If I click on the finder and then
>>>>> on the card it becomes the active window again.
>>>>> 
>>>>> How do I select the stack from a script so it becomes the
>>>>> active window.  I guess this would be used in selecting a
>>>>> stack that is already opened and then selecting another
>>>>> stack that is also opened.
>>>>> 
>>>>> John Balgenorth
>>>>> 
>>>>> _______________________________________________
>>>>> use-livecode mailing list
>>>>> use-livecode@lists.runrev.com
>>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>>> subscription preferences:
>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>>> -- 
>>>> Jacqueline Landman Gay         |     jac...@hyperactivesw.com
>>>> HyperActive Software           |     http://www.hyperactivesw.com
>>>> 
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode@lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your 
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to