Standalone Error Dialog

Richard Gaskin ambassador at fourthworld.com
Thu Jul 12 20:05:47 EDT 2012


Mark Wieder wrote:

> Richard Gaskin <ambassador at ...> writes:
>
>> If you need the strings associated with specific errors, you can get
>> them from the cErrorsList property of the card in the revErrorsDisplay
>> stack.
>
> Keep in mind, though, that Pete needs to do this in a standalone. To do this
> he'd need to grab the error list and package it into a custom property of his
> stack before building the standalone app.

I guessed he would have figured that out on his own. :)

It's worth noting that while the error messages rarely change between 
versions of the engine, it's possible that they might so when updating 
the standalone you may want to update that list of messages.

If you want to be really clever about it you could trap the 
savingStandlone message and have your app take care of that itself at 
build time.

I've also heard recently that there may now be a function in the engine 
to obtain those strings, but I'm not sure if I'm remembering that 
correctly or just getting senile.

--
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  Follow me on Twitter:  http://twitter.com/FourthWorldSys




More information about the use-livecode mailing list