I'm still trying to figure this out. Here's the latest twist - the
About dialog in the standalone, which uses the custom property,
displays the correct version as entered in the prompt dialog during
savingStandalone. But the custom property I see in the IDE doesn't
get updated.
I seem to remember seeing something about LC making copies of stacks
when it builds a standalone, or I might be dreaming that. If there
are stack copies involved, could that have anything to do with this?
Pete Haworth
http://www.mollysrevenge.com
http://www.sonicbids.com/MollysRevenge
http://www.myspace.com/mollysrevengeband
On Dec 13, 2010, at 6:29 PM, J. Landman Gay wrote:
On 12/13/10 7:51 PM, Peter Haworth wrote:
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.
Ask and answer dialogs change the value of the dialogdata, but I
understand it was just a test.
I can't think of any other reason it would fail. Dialogdata is just
like a huge engine-wide global and you can use it however you want.
But any other dialog or modal can change its value so it isn't
dependable except immediately after it's set. The sample script you
posted should work, you were doing it right.
I'm not sure what the goal is of opening a modal to request a
version number. Is there a reason not to use the message box or an
"ask" command?
--
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