Help: Does anyone use legacy message box behavior?

Mark Wieder ahsoftware at sonic.net
Tue Feb 7 01:07:45 EST 2017


On 02/06/2017 07:28 PM, Monte Goulding via use-livecode wrote:

> I’m in the midst of making the message box redirect work in all engines (https://github.com/livecode/livecode/pull/5156 <https://github.com/livecode/livecode/pull/5156>) and it would seem that there’s a legacy message box behavior that could be removed from the engine. It’s not used by the IDE. The behavior is if no message box redirect is set then it looks for a stack named “Message Box”, sets the text of the first field then raises the stack. As this is only an IDE thing I strongly suspect we are ok to remove the code but while I’m waiting for the team to wake up in Scotland I thought I’d check here!
>
> It would be easy to work around even if you have been depending on it because it’s just setting the property and then handling msgChanged to put msg where ever you want.

Go for it. Would be nice to have redirect work any/every/where.

-- 
  Mark Wieder
  ahsoftware at gmail.com






More information about the use-livecode mailing list