savingStandalone Problem
Peter Haworth
pete at mollysrevenge.com
Mon Dec 13 20:51:26 EST 2010
Hi Jacquie,
I'm certain the prompt handler is returning the correct value - I put
an answer information in it right before the set statement and it
showed that the dialogdata had the value I keyed into the prompt form.
Pete Haworth
-------------- next part --------------
http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband
On Dec 13, 2010, at 3:59 PM, J. Landman Gay wrote:
>> I have the following code in a savingStandalone handler in the
>> script of
>> my main stack:
>>
>> go to card "FieldPrompt" of stack "Prompts" as modal
>> if the dialogData is not "Cancel" then
>> set the BandTrakVersion of stack "BandTrak" to the dialogData
>> end if
>>
>> The modal window is displayed and I enter the version number I want,
>> only it doesn't get saved into the BandTrakVersion custom property.
>> This
>> used to work, I'm pretty sure, but has suddenly stopped working.
>
> It should work as long as the dialogdata has a value. Check your
> prompt handler to make sure it's setting that. Is this for your own
> use only? I usually just use the message box to set the version
> custom property.
More information about the use-livecode
mailing list