Just an idea: could you have a returnkey message (or another closing message) 
pending from somewhere and caught there inadvertendly (nice word) ?

Jacques


Le 19 janv. 2010 à 23:37, Tereza Snyder a écrit :

> 
> On Jan 19, 2010, at 4:02 PM, Jacques Hausser wrote:
> 
>> Hi Tereza
>> 
>> I checked your handler in a stack "modaling" a substack "AskYesOrNo" with 
>> both RR 3.5 and 4, and both seem to work perfectly...
>> Do you have something else than filling fields with the custom properties 
>> and setting the dialogData in the scripts of "AskYesOrNo" ?
>> 
>> Jacques
>> 
> 
> Thanks Jacques!
> 
> In preopenstack I move buttons around to suit the platform and default value, 
> and I arrange to return the default value on returnkey. But I do nothing 
> unusual. I've had to revert to using an answer dialog--which works--but I 
> wish my own dialog would work! This is old code that worked for years that I 
> revived for this project (I wanted my own look-and-feel). Convinces  me I 
> really AM losing my grip!
> 
> 
> t
> 
>> 
>> Le 19 janv. 2010 à 21:22, Tereza Snyder a écrit :
>> 
>>> 
>>> On Jan 19, 2010, at 1:56 PM, Jerry Daniels wrote:
>>> 
>>>> Tereza,
>>>> 
>>>> modal stack "AskYesOrNo"
>>>> 
>>>> Don't you have to put the word "stack" in there?
>>> 
>>> The (mis)behavior is the same whether it's "modal stack"  or just "modal"
>>> 
>>> 
>>>> On Jan 19, 2010, at 1:05 PM, Tereza Snyder wrote:
>>>> 
>>>>> I have this handler in a script:
>>>>> 
>>>>> 
>>>>> function YesOrNo pQuestion, pDefaultAnswer
>>>>> set the Question of stack "AskYesOrNo"  to pQuestion
>>>>> set the DefaultAnswer of stack "AskYesOrNo" to pDefaultAnswer
>>>>> modal "AskYesOrNo"        
>>>>> return the dialogData
>>>>> end YesOrNo
>>>>> 
>>>>> The stack "AskYesOrNo" is intended to do what you'd expect: it displays 
>>>>> the question with "yes" or "no" and returns "yes" or "no" in the dialog 
>>>>> data. However, when I call this handler, it returns empty before it even 
>>>>> displays the dialog. If I insert a "put" statement AFTER the "modal" 
>>>>> statement, the putted text is visible in the message box while the dialog 
>>>>> is on the screen, and statements in the caller of the YesOrNo function 
>>>>> are executed before I exit the dialog.
>>>>> 
>>>>> In other words, "modal" seems broken. Before I start making test stacks, 
>>>>> has anyone encountered this before? Could there be a bug in the dialog 
>>>>> scripts that causes the dialog to fail silently?
>>>>> 
>>>>> (Revolution 3.5, MacOS 10.6.2)
>>> 
>>> -- 
>>> Tereza Snyder
>>> Califex Software, Inc.
>>> <www.califexsoftware.com>
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> use-revolution mailing list
>>> [email protected]
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
>> ******************************************
>> Prof. Jacques Hausser
>> Department of Ecology and Evolution
>> Biophore / Sorge
>> University of Lausanne
>> CH 1015 Lausanne
>> please use my private address:
>> 6 route de Burtigny
>> CH-1269 Bassins
>> tel/fax:     ++ 41 22 366 19 40
>> mobile:      ++ 41 79 757 05 24
>> E-Mail:      [email protected]
>> *******************************************
>> 
>> _______________________________________________
>> use-revolution mailing list
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

******************************************
Prof. Jacques Hausser
Department of Ecology and Evolution
Biophore / Sorge
University of Lausanne
CH 1015 Lausanne
please use my private address:
6 route de Burtigny
CH-1269 Bassins
tel/fax:        ++ 41 22 366 19 40
mobile: ++ 41 79 757 05 24
E-Mail: [email protected]
*******************************************

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to