Modal dialog not modal... any hints?

Robert Brenstein rjb at robelko.com
Wed Jan 20 09:22:55 EST 2010


On 20.01.10 at 07:50 -0600 Tereza Snyder apparently wrote:
>  > Hi Tereza
>>
>>  That explains nothing, but could perhaps be an ad hoc solution 
>>(since I cannot reproduce the problem, I cannot test it). Try to 
>>modify your script as follows:
>>
>>  function YesOrNo pQuestion, pDefaultAnswer
>>   set the dialogData to empty -- to be sure
>  >  set the Question of stack "AskYesOrNo"  to pQuestion
>>   set the DefaultAnswer of stack "AskYesOrNo" to pDefaultAnswer
>>   modal "AskYesOrNo"
>>   wait until the dialogData <> empty
>>   return the dialogData
>>  end YesOrNo
>>
>>  ... I cross my fingers
>
>
>I will try this approach and see if it works, as I attempt to 
>isolate the problem today. At least, using an answer dialog, I was 
>able to release the standalone for testing yesterday.
>
>Thanks to all for the input.
>
>from crazyland,
>
>tereza

Have you tried the alternative syntax

go stack "AskYesOrNo" as modal

Robert



More information about the use-livecode mailing list